You can't. The whole purpose of facts is to allow Puppet to make decisions based on client data. Variables=server, facts=client.
On Thu, Sep 1, 2011 at 3:41 PM, Douglas Garstang <doug.garst...@gmail.com>wrote: > So, after reading this doc: > > http://projects.puppetlabs.com/projects/1/wiki/Adding_Facts > > it's not readily apparent to me how I can create facts that are derived > from variables defined at the node level in puppet, rather than at the O/S > level on the client. I want to be able to set a variable that defines a > server type in the node, and access that. Anyone? > > Doug. > > -- > 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. > -- 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.