On Wed, May 5, 2010 at 11:50 AM, Roshan Punnoose <roshanp@gmail.com>
wrote:
[snip
> Is there currently a way to ensure that either the directories exist first
> in the function file copy, or, better yet, to specify an order to the
> function calls?
Roshan,
This topic is something that separates puppet from many other tools.
With puppet, resources and their relationships are declared rather
than a procedure of action. This means unless explicitly stated,
resources are managed in an arbitrary order.
Please take a look at the before, after, require, and notify
parameters. These parameters are available with every resource type
and create explicit ordering among the resources you manage.
The language tutorial covers this, located at:
http://docs.puppetlabs.com/guides/language_tutorial.html
Hope this helps,
--
Jeff McCune
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.