Unfortunately, the message could be computed only in function. Do I understand correctly that it is impossible to push Notify in catalog from function during compilation.
On Tue, Feb 25, 2014 at 5:26 PM, jcbollinger <[email protected]>wrote: > > > On Monday, February 24, 2014 8:15:29 AM UTC-6, bazil wrote: >> >> Hi all, >> >> could you advice any way to put a message in puppet agent output from >> puppet function on master. >> >> > > Not directly, because functions run on the master, during catalog > compilation. If the message can be computed on the master, then you can > cause it to be emitted into the agent's log via a Notify resource. > > > John > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/5a518de3-e563-4e2c-867f-80c859b8767e%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- Best regards, Vasil Mikhalenya -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAPc4iSARXjUHL1XraiSK11c2ygg3u6BNbEthfQkJPdeu-gLzvQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
