On Tue, Mar 22, 2011 at 3:06 PM, Christian Kauhaus <k...@gocept.com> wrote:
> Am 22.03.2011 02:53, schrieb Nigel Kersten:
>>
>> The intersection of files and directories isn't that big a deal, but
>> we could split out directories too if we wanted.
>
> From the user's perspective, it's more like the other way round. We should
> not let implementation issues guide the design of the manifest language.
> Files and directories are different concepts, but symlinks to either files
> or directories are handled mostly transparently.
>
> I would rather suggest a File and a Directory type. Both types should share
> basic attributes like owner/mode etc and both should support symlinks. Each
> one has unique attributes: files should support source/content, while
> directories should support the recursive copy feature.

If you're enabling recursive copies for Directories, then you're also
supporting the 'source' property, and you're also supporting the
"links => {follow, manage, ignore}" parameter and recurse and
recurselimit....

I don't think this gets us to a significantly better position for the user.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to