On Tue, Nov 20, 2012 at 1:28 AM, KomodoDave <dave.brown@ocado.com> wrote:
> If you define a custom function in *lib/puppet/parser/functions *can it
> be executed with a *before *or* require *relationship applied?
>
> Without this I don''t understand the logic behind when it will be
called,
> considering relationships make the literal ordering of code in a manifest
> irrelevant to a degree.
>
>
Neither, functions are executed during catalog compilation on the master.
Resources in the catalog are applied in the order of their relationship on
the client. The first rule in the documentation applies here:
http://docs.puppetlabs.com/guides/custom_functions.html#gotchas
HTH,
Nan
--
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.