(devel) Thought of a good way to handle file resource permissions...

Basically we need to be able to set ownership and things when copying a file or using a template, but also need to do this anyway for when you JUST
want to edit permissions when NOT copying or tempting.

I’m thinking we can make the “copy” and “template” modules magic, such that they run, and then execute the file resource immediately
after (while basing their changed attributon on the OR’ing of the file/template part). This should be pretty trivial.

As a result, we do not need to separately teach copy and template about how to do these ownership things at all, and it will be just like the copy/template
modules support those options.

I probably can have something rough by early next week (or earlier) … though I could probably use some help in polishing it up. Unless someone want to beat
me to it.

If someone wants to write some modules, I think users and groups is the other major gap.

Also if anyone has an Debian systems, an aptitude provider, supporting more or less what the yum one does would be awesome.

–Michael