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: # First, the master .bashrc { /etc/skel/.bashrc AppendIfNoSuchLine ". /etc/foo" } # "Live" .bashrc { home/.bashrc AppendIfNoSuchLine ". /etc/foo" } What I am seeing is that /etc/skel/.bashrc is being updated, but none of the users' is being updated. I found the "{ home/.bashrc" in the reference manual. Any ideas? --b
_______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine