On Nov 17, 2014 3:38 AM, "Antoine Cotten" <tonio.cot...@gmail.com> wrote:
>
> Hi Puppet users,
>
> Is there any convenient way to access a variable defined in a Puppet
class from within a custom fact?
>

Not directly; the ordering is wrong in your mental model. You could write
out the variable as an external fact on the managed node and then refer to
it as a fact in the next agent run.

(Aside: Does anyone have a link to a diagram of the dance the master and
agent do? I've been meaning to try to make one on websequencediagrams.com
but not gotten around to it.)

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAMmm3r7GxWpnjxkp9C5Tc9F2GQmhFnfq0EhqrCBa0g02FJOLHA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to