Stéphan Gorget
2009-Apr-20 08:45 UTC
[Puppet Users] Use database to specify the set variables
Some clusters are using database to store node information such as the group and the profile of the node. I''d like to use these variables in the manifests. I wonder if it is better to create a specific fact that provides it to the puppetmaster or if it is better to use the puppetmaster to directly query the DB. I don''t know how to retrieve these variables. Though I realize that using facter is not great for security and scalability purposes. I''d be interested in your ideas. -- Stéphan --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Ohad Levy
2009-Apr-20 08:48 UTC
[Puppet Users] Re: Use database to specify the set variables
probably you should look on external nodes script cheers, Ohad On Mon, Apr 20, 2009 at 4:45 PM, Stéphan Gorget <phantez@gmail.com> wrote:> > Some clusters are using database to store node information such as the > group and the profile of the node. I''d like to use these variables in > the manifests. I wonder if it is better to create a specific fact that > provides it to the puppetmaster or if it is better to use the > puppetmaster to directly query the DB. I don''t know how to retrieve > these variables. Though I realize that using facter is not great for > security and scalability purposes. > > I''d be interested in your ideas. > > -- > Stéphan > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---