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
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
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
>> }
>
>
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
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
> }