Re: [cfengine2] Editing multiple files

2010-01-28 Thread B. Alexander
ome directories. Especially since I am updating our cfengine compliance file for NIST SP800-53 at work... I'll have a look at mountpattern in the manual Thanks, --b On Wed, Jan 27, 2010 at 2:30 PM, michoski wrote: > On 1/27/10 7:04 AM, "B. Alexander" wrote: &g

Re: [cfengine2] Editing multiple files

2010-01-27 Thread B. Alexander
Here is the output of editfiles: * Main Tree Sched: editfiles pass 1 @ Wed Jan 27 09:31:23 2010 * Begin editing /etc/skel/.bashrc End editing /etc/skel/.bashrc

[cfengine2] Editing multiple files

2010-01-26 Thread B. Alexander
I would like to edit all of the .bashrc files on the system. I'm on Debian, so I would have one in /root, one in each user's directory and one in /etc/skel. First I am copying the file over if it is not already there, then I run an editfiles. The editfiles stanza looks like: editfiles: # Fir

Promises are not being kept

2010-01-19 Thread B. Alexander
Hi, I am having problems getting cfengine to keep promises. I admit that I am completely new to cfengine and have only been working with it for a few weeks now. I am using Automating Linux and Unix System Administration, second edition as my primary reference, with a smattering of other resources.