On Nov 17, 2014 3:38 AM, "Antoine Cotten" <tonio....@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.)
(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.)
(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.)