Re: [cfengine2] Editing multiple files

2010-01-28 Thread Jesse Becker
On Thu, Jan 28, 2010 at 09:22:49AM -0500, B. Alexander wrote: >Therein lies the problem. If you look at all of the users on a system, there >are several that aren't under /home. Just looking on my workstation, the >following home directories are on the system: > >$ cat /etc/passwd | grep false |

Re: [cfengine2] Editing multiple files

2010-01-28 Thread B. Alexander
Therein lies the problem. If you look at all of the users on a system, there are several that aren't under /home. Just looking on my workstation, the following home directories are on the system: $ cat /etc/passwd | grep false | awk -F: '{ print $6 }' /var/spool/exim4 /var/lib/nfs /var/run/dbus /v

Re: [cfengine2] Editing multiple files

2010-01-27 Thread michoski
On 1/27/10 7:04 AM, "B. Alexander" wrote: > Here is the output of editfiles: > > * >  Main Tree Sched: editfiles pass 1 @ Wed Jan 27 09:31:23 2010 > * > > Begin

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

Re: [cfengine2] Editing multiple files

2010-01-27 Thread NWatson
help-cfengine-boun...@cfengine.org wrote on 2010-01-26 18:14:56: > > # "Live" .bashrc > { home/.bashrc > AppendIfNoSuchLine ". /etc/foo" > } What does verbose output say? I'm guessing that this promise will be ignored since, being a relative path, Cf cannot determine where t