Re: [Puppet Users] Re: replacing mkdir -p

2013-04-08 Thread Luca Gioppo
Can you post a complete example please? Thanks Luca 2013/4/4 Mike Power dodts...@gmail.com Actually I found if I created a resource between path and file called element, I could give it a unique name. Then inside the body I could check to see if the File is declared, if not I could declare

Re: [Puppet Users] Re: replacing mkdir -p

2013-04-08 Thread Tony C
I have the same issue, I basically create an array, that way it cuts it down to one FILE, and not the same thing over and over again. file { [/blah, /blah/blah, /blah/blah/blah, /blah/blah/blah/blah, /blah/blah/blah/blah/blah]: ensure = directory, owner = blah, group = blah, mode = 0700, } On