What is best way to loop over a number of directories and update the same
file in each directory? I am looking into letting cfengine control bash
config files for many users. I could for example do this:
...
files:
svr01::
"/home/user0/.bashrc"
copy_from,...
"/home/user1/.bashrc"
copy_from,...
"/home/user1/.bashrc"
copy_from,...
...
but there is probably a more elegant way to do this than to duplicate the
code per user home directory.
Cheers,
Erlend
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine