I am trying to isntall foreman, but it seems that it required to config stored config first, and it will use the puppet database. can someone explain why it has to use the stored config database? Thanks. -- 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.
llowder@oreillyauto.com
2012-Jul-24 21:45 UTC
[Puppet Users] Re: does foreman require stored config?
It only is needed if you want to have the foreman list/show facts and such for the puppet master. It makes life a lot easier, and makes foreman a lot more useful, and it does make the process of importing classes a lot easier as well. On Tuesday, July 24, 2012 4:35:42 PM UTC-5, Hai wrote:> > I am trying to isntall foreman, but it seems that it required to > config stored config first, and it will use the puppet database. > > can someone explain why it has to use the stored config database? > > Thanks. >-- 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/-/rfP-dJMulcgJ. 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.
Brian Gupta
2012-Jul-25 03:39 UTC
Re: [Puppet Users] Re: does foreman require stored config?
I''d like to add that *IF* you are using Foreman as an ENC, the preferred method of putting facts in the Foreman database is the new ENC script that updates facts on every puppet run: https://github.com/theforeman/puppet-foreman/blob/master/templates/external_node.rb.erb Where you might want to use storeconfigs, is if you want to use the Puppet language''s storeconfig syntax to export and collect resources. (Or have existing code that uses storeconfigs syntax). You do NOT need to share the database to do this, and in fact I am personally discouraging a shared database, since Puppetlabs has indicated that they eventually plan to deprecate mysql based storeconfigs, and using UUID certnames in conjunction with Foreman provisioning doesn''t work with a shared database. While we now have separated our storeconfigs database from the foreman database, and still have code that uses storeconfigs operators, I am exploring replacing our storeconfigs code with native puppet functions that work with foreman searches, as described here: http://blog.theforeman.org/2012/01/getting-foreman-search-results-into.html We can do this because we are using the ENC script to keep facts up to date. I''d love to hear other people''s thoughts on this. Cheers, Brian On Tue, Jul 24, 2012 at 5:45 PM, llowder@oreillyauto.com <llowder@oreillyauto.com> wrote:> It only is needed if you want to have the foreman list/show facts and such > for the puppet master. > > It makes life a lot easier, and makes foreman a lot more useful, and it does > make the process of importing classes a lot easier as well. > > > > > On Tuesday, July 24, 2012 4:35:42 PM UTC-5, Hai wrote: >> >> I am trying to isntall foreman, but it seems that it required to >> config stored config first, and it will use the puppet database. >> >> can someone explain why it has to use the stored config database? >> >> Thanks. > > -- > 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/-/rfP-dJMulcgJ. > > 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.-- 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.