2009/12/11 Mark Burgess <[email protected]>
>
> Forgive me for pouring scorn on this idea, but it has absolutely no
> conceivable merit to
> use an inappropriately cryptic script to generate something that is supposed
> to be a piece
> of documentation about the system. This is nonsense.
>
Someone could argue that a construct like this is "inappropriately
cryptic", it certainly has Perlish flare to it:
"any" usebundle => fileperms(
"${${files}[trg]}",
"${${files}[mod]}",
"${${files}[usr]}",
"${${files}[grp]}"
);
I would argue that a file which contains eg
/etc/profile,root,root,0644
/etc/cron.allow,root,root,0600
/etc/motd,root,root,0644
is a very good piece of documentation for the system - this is the
core information for these files, while the actual code of the cf3
policies that execute the above is of less interest.
- Erlend Leganger
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine