We have a need for nodes to specify a class to be included in their catalog. What''s the best (?) way to do this? Best I can tell, we''d have to customize the Facter facts reported by the node to the master. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/JFR3BY0hyj8J. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Daniel Pittman
2011-Aug-23 16:59 UTC
Re: [Puppet Users] Allow node to request a class/module?
On Tue, Aug 23, 2011 at 07:26, jblaine <cjblaine@gmail.com> wrote:> We have a need for nodes to specify a class to be included in their catalog. > What''s the best (?) way to do this? Best I can tell, we''d have to customize > the Facter facts reported by the node to the master.You got it in one: report whatever property of the machine that you want to support, and then on the master use that data to make your decision. Facts are the most obvious way, but if you have some external system you can report into and query from that manually. Daniel -- ⎋ Puppet Labs Developer – http://puppetlabs.com ♲ Made with 100 percent post-consumer electrons -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.