----- Original Message -----
> On Sep 6, 8:54 pm, "R.I.Pienaar" <r...@devco.net> wrote:
> > ----- Original Message -----
> >
> > files auto require their parents, it's not even needed to do
> > the require => or require()
> >
> >
> Could you please explain what exactly does it mean? Cheers!!

Given 2 file resources:

file{"/foo": ensure => directory}
file{"/foo/bar": content => "hello world"}

Puppet knows that it would be dumb to create /foo/bar before /foo
it also knows it would be tedious to add require statements all the
time. 

So it does the right thing, it adds the require statement for you
and you will never have a case where it creates them in the wrong 
order unless you made some mistake.

-- 
R.I.Pienaar

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to