ZJE
2012-Jul-06 16:01 UTC
[Puppet Users] Have puppet store updated facts in couchdb without updating configuration
We have a test puppet environment where we use couchDB as a facts terminus. We are thinking of using facter+couch as our new inventory system and would like to be able to pull inventory without having to resolve puppet configurations on our servers (we have very strict change management procedures) Is it possible to run puppet in an "inventory mode" and only update facts? I appears that using --noop does not update the data in couchDB. 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/-/hw8eWzV-HCYJ. 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.
Dan Bode
2012-Jul-06 16:14 UTC
Re: [Puppet Users] Have puppet store updated facts in couchdb without updating configuration
On Fri, Jul 6, 2012 at 9:01 AM, ZJE <countach44@gmail.com> wrote:> We have a test puppet environment where we use couchDB as a facts > terminus. We are thinking of using facter+couch as our new inventory system > and would like to be able to pull inventory without having to resolve > puppet configurations on our servers (we have very strict change management > procedures) > Is it possible to run puppet in an "inventory mode" and only update facts? > I appears that using --noop does not update the data in couchDB. >Have a look at facts upload. puppet help facts upload It can be run on the agents to just run facter and upload the facts to the master (using its rest terminus)> 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/-/hw8eWzV-HCYJ. > 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.
ZJE
2012-Jul-11 21:15 UTC
Re: [Puppet Users] Have puppet store updated facts in couchdb without updating configuration
Thanks! That did the trick (and went to the configured couchDB) In case anyone comes across this later, I needed to also setup ACLs for /facts (http://docs.puppetlabs.com/guides/rest_auth_conf.html) I added this ACL above the default "path /" --- path /facts method save auth any allow * --- On Friday, July 6, 2012 11:14:00 AM UTC-5, Dan Bode wrote:> > > > On Fri, Jul 6, 2012 at 9:01 AM, ZJE wrote: > >> We have a test puppet environment where we use couchDB as a facts >> terminus. We are thinking of using facter+couch as our new inventory system >> and would like to be able to pull inventory without having to resolve >> puppet configurations on our servers (we have very strict change management >> procedures) >> Is it possible to run puppet in an "inventory mode" and only update >> facts? I appears that using --noop does not update the data in couchDB. >> > > Have a look at facts upload. > > puppet help facts upload > > It can be run on the agents to just run facter and upload the facts to the > master (using its rest terminus) > > >> 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/-/hw8eWzV-HCYJ. >> 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 view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/u8kq6FXPuGAJ. 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.