----- Original Message -----
> 
> 
> On Jul 14, 11:57 am, PBWebGuy <pbweb...@gmail.com> wrote:
> > You bring up a good point and I wanted to ask this question
> > anyways.
> > To the best of my knowledge, functions run on the master and facts
> > run
> > on the node.  If that is the case, it perplexes me that functions
> > get
> > sync'd to the node in the /var/lib/puppet/lib... directory.  That
> > is
> > unless functions can then be used in a fact which is something that
> > I
> > have yet to test.  Do you have any clarification?
> 
> 
> If you want an authoritative answer, then the question might be
> better
> posed on the dev list.
> 
> I speculate, however, that functions in modules are synced to nodes
> as a harmless side effect of the overall plugin sync mechanism.  Since
> they *are* synced to nodes, it should be possible to use them (their
> Ruby implementations, that is) in custom facts.  But again, the kinds
> of things you want a Puppet function for tend to be quite different
> from the kinds of things you want a fact for, so the likelihood that
> such a capability would be useful seems small.

they are also usable in running manifests using puppet apply on nodes.

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to