[Puppet Users] Re: The puppet equivalent of mkdir -p

2008-10-11 Thread Aj
That's correct - if you have parent directories in your manifest, puppet will have child files/folders autorequire the parent(s). The file { [ '/foo', '/foo/bar' ]: } syntax is currently the best way to achieve this, although with a Parser function you could split a full path into an array

[Puppet Users] Force backup of files modified outside of puppet's File Type

2008-10-11 Thread Joel Nimety
I'm using the SimpleText recipe and Augeas plugin to modify files in place. I'd like to notify the appropriate File resource that a modification is about to take place so puppet can backup the file. Maybe this is already possible but I haven't found any examples or documentation on how to accompl

[Puppet Users] Re: The puppet equivalent of mkdir -p

2008-10-11 Thread Peter Meier
Hi >> file {["$basedir", "$basedir/src", "$basedir/src/my", >> "$basedir/src/my/dir", "$basedir/src/my/dir/path" ]: #Just pass the >> file resource an array of files. >> mode => 0755, >> owner => jeff, >> group => jeff, >> ensure => directory, >> recurse => true >> } > >

[Puppet Users] Re: Proposed refactoring of ssh_authorized_keys

2008-10-11 Thread Francois Deppierraz
Hi Ryan, You're correct, let's move that discussion into the mailing-list instead of chatting in the tickets. In #1644 you wrote: > In my opinion, the proper design would be to have ONE ssh_authorized_key > resource per user, and that you should be able to provide an array for both > the "tar

[Puppet Users] Re: The puppet equivalent of mkdir -p

2008-10-11 Thread Francois Deppierraz
Teyo Tyree wrote: > file {["$basedir", "$basedir/src", "$basedir/src/my", > "$basedir/src/my/dir", "$basedir/src/my/dir/path" ]: #Just pass the > file resource an array of files. > mode => 0755, > owner => jeff, > group => jeff, > ensure => directory, > recurse => true > }