On Feb 25, 10:01 am, ascodemus <ascode...@gmail.com> wrote:
> I thought also before that this could do the trick, but as indicated
> on the web (http://docs.reductivelabs.com/references/stable/
> function.html#generate) the generate executes a command on the puppet
> MASTER-server (not on the client), so this does not work as such -

Indeed.  All the information the Puppetmaster has about any client
comes ultimately from the facts that client presents to it and the
manifests you write.  Even if you use storeconfigs to retain and share
client information, that information is still originally derived from
those same sources.

If you want the Puppetmaster to know about the result of running a
command on the client, then you need to write a custom fact.  Tim
already referred you to some docs on that.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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