http://christian.hofstaedtler.name/blog/2008/11/puppet-managing-directories-recursively.html

On Wednesday, December 11, 2013 2:36:05 PM UTC-8, Stuart Cracraft wrote:
>
> The tree has to already exist. 
>
> One would think having the ability
> to instantiate a tree from a seedling would be useful. 
>
> Sent from my iPhone
>
> On Dec 11, 2013, at 2:25 PM, Stuart Cracraft <smcracr...@gmail.com> wrote:
>
>
> I want to recursively descend infinitely through a directory tree in 
> regards to ensuring:
>
>   (a) owner, group, permission
>   (b) existence of the full path, all the leaves, out to the final leaf, 
> e.g.
>        /somedir/somesubdir/{file1,file2,file3,somesubdirtoo} and so forth
>
> This could be done trivially with an exec but is not 
> pure-Puppet-ecosystem, obviously.
>
> So my questions are, from a Puppet-puritan-perspective:
>
>   is there a way to do (a)
>   is there a way to do (b)
>   is there a way to do (a)+(b)
>
> and last:
>
>   is there a way to do (a)+(b) in a reasonable period of time for a 
> shallow tree of few leaves
>
> Yours in squirrelhood,
>
> Stuart
>
>
>  -- 
> You received this message because you are subscribed to a topic in the 
> Google Groups "Puppet Users" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/puppet-users/Hf6ReeSy2mE/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> puppet-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/puppet-users/b9c95f80-9ae3-439b-a451-17327291524d%40googlegroups.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/a0f42acd-6ac7-497f-a218-24c91cc397a5%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to