I''ve tried to sync custom facts to puppet client 2.6.7 with no luck. Could you please give me advise? placed custom facts in /etc/puppet/modules/cutom/lib/facter directory (empty init.pp file created as well) edited puppet.conf to add following pluginsync = true modulepath = /etc/puppet/modules -- 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.
Hi Steve, Did you add pluginsync = true on the client? Is it in the [agent] or [main] section? What happens when you just do: puppet agent -t --pluginsync (obviously inserting any other switches you normally require) ken. On Wed, Aug 10, 2011 at 8:22 PM, Steve <some1youknow@gmail.com> wrote:> I''ve tried to sync custom facts to puppet client 2.6.7 with no luck. > Could you please give me advise? > > placed custom facts in /etc/puppet/modules/cutom/lib/facter directory > (empty init.pp file created as well) > > edited puppet.conf to add following > > pluginsync = true > modulepath = /etc/puppet/modules > > > > -- > 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. > >-- "Join us for PuppetConf, September 22nd and 23rd in Portland, OR: http://bit.ly/puppetconfsig" -- 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.
running the ''puppet agent -t --pluginsync'' command on client synced the custom facts and now it is working. Is this something that I need to run on every puppet agent in order to sync custom facts? Thank you On Aug 10, 12:25 pm, Ken Barber <k...@puppetlabs.com> wrote:> Hi Steve, > > Did you add pluginsync = true on the client? Is it in the [agent] or > [main] section? > > What happens when you just do: > > puppet agent -t --pluginsync > > (obviously inserting any other switches you normally require) > > ken. > > > > > > > > > > On Wed, Aug 10, 2011 at 8:22 PM, Steve <some1youk...@gmail.com> wrote: > > I''ve tried to sync custom facts to puppet client 2.6.7 with no luck. > > Could you please give me advise? > > > placed custom facts in /etc/puppet/modules/cutom/lib/facter directory > > (empty init.pp file created as well) > > > edited puppet.conf to add following > > > pluginsync = true > > modulepath = /etc/puppet/modules > > > -- > > 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 athttp://groups.google.com/group/puppet-users?hl=en. > > -- > "Join us for PuppetConf, September 22nd and 23rd in Portland, OR:http://bit.ly/puppetconfsig"-- 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.
Ken Barber
2011-Aug-10 20:53 UTC
Re: [Puppet Users] Re: sync custom facts to puppet client
Yes - to sync facts to clients you need to run puppet with pluginsync enabled on the client. And like most puppet switches, as long as its in puppet.conf you won''t need to include it on the command line: [agent] pluginsync = true So make sure you have that setting in your puppet.conf on all your clients. ken. On Wed, Aug 10, 2011 at 9:41 PM, Steve <some1youknow@gmail.com> wrote:> running the ''puppet agent -t --pluginsync'' command on client synced > the custom facts and now it is working. Is this something that I need > to run on every puppet agent in order to sync custom facts? > > Thank you > > On Aug 10, 12:25 pm, Ken Barber <k...@puppetlabs.com> wrote: >> Hi Steve, >> >> Did you add pluginsync = true on the client? Is it in the [agent] or >> [main] section? >> >> What happens when you just do: >> >> puppet agent -t --pluginsync >> >> (obviously inserting any other switches you normally require) >> >> ken. >> >> >> >> >> >> >> >> >> >> On Wed, Aug 10, 2011 at 8:22 PM, Steve <some1youk...@gmail.com> wrote: >> > I''ve tried to sync custom facts to puppet client 2.6.7 with no luck. >> > Could you please give me advise? >> >> > placed custom facts in /etc/puppet/modules/cutom/lib/facter directory >> > (empty init.pp file created as well) >> >> > edited puppet.conf to add following >> >> > pluginsync = true >> > modulepath = /etc/puppet/modules >> >> > -- >> > 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 athttp://groups.google.com/group/puppet-users?hl=en. >> >> -- >> "Join us for PuppetConf, September 22nd and 23rd in Portland, OR:http://bit.ly/puppetconfsig" > > -- > 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. > >-- "Join us for PuppetConf, September 22nd and 23rd in Portland, OR: http://bit.ly/puppetconfsig" -- 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.