James --

> I assumed that when doing a directory and specifying recursive that it
> would create a directory along with any paths it needed, the way mkdir -p
> does.  However, that does not appear to be the case.  Does anyone know of a
> bug report or enhancement request for that?  If not, I'd be happy to file
> one and/or submit a patch for it.

If what you are wanting is parent directories, that has been raised
before and, IIRC, the consensus was that that would cause more
problems than it would solve.  The core issue is that by implicitly
managing the directory resource you could wind up with it being
managed more than once and get conflicting settings for owner, rights,
etc.

The conclusion the last time this came up is that you should
explicitly manage (and require) the parent directories.

The recursion parameter is for going down into child directories, and
that should work.  If I;m misunderstanding your request and it doesn't
work for you, there may be a bug somewhere where, and that of course
should be fixed.

-- Markus
-----------------------------------------------------------
The power of accurate observation is
commonly called cynicism by those
who have not got it.  ~George Bernard Shaw
------------------------------------------------------------

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to