LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-01-2009, 12:00 PM   #1
crofty13
LQ Newbie
 
Registered: Feb 2005
Location: Thailand
Posts: 28

Rep: Reputation: 15
cfengine - copy directories


I have been using cfengine for a few years and its great. The one problem I have with it is copying entire directories. normally I have to add each file individually like this to the cf.input file:

redhat.ipv4_192_168_9:: # IT segment
${dist}/etc/yp.conf
dest=/etc/yp.conf
mode=0444
owner=root
group=root
define=reload_ypbind_config
server=${cfmaster}
encrypt=true

I now want to distribute my Nagios client which is a directory filled with 50 files and subdirectories.

Is there a way to tell cfengine to copy the directory and its contents in it entirety without specifying each one?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I copy over directories to directories with the same name without overwriting? SentralOrigin Linux - General 1 03-14-2009 01:09 AM
copy recursively across directories stefaandk *BSD 1 11-09-2008 10:01 PM
How to copy directories sofasurfer Debian 10 01-01-2008 07:42 PM
Copy files from different directories fiomba Linux - Software 3 02-11-2005 03:01 AM
copy directories and subdirectories Red Squirrel Linux - Newbie 2 03-06-2004 09:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration