Any reason you can't do the following?
file { "/aaa/bbb/ccc"
ensure => 'directory',
}
Jeffrey.
On Thu, Dec 15, 2011 at 9:43 PM, chateau Xiao wrote:
> hi all:
> if we need to ensure a file exist in a folder that not yet been created.
> puppet will simplely report error.
> for example:
>
>
hi all:
if we need to ensure a file exist in a folder that not yet been created.
puppet will simplely report error.
for example:
file { "/aaa/bbb/ccc/aaa"
ensure => 'present';
}
if directory ccc not yet been created, puppet client excute will get an
error message.
Does puppet have any fu