On Wed, 25 Apr 2018, at 17:52, Luke Bigum wrote:
> On Wednesday, 25 April 2018 15:18:13 UTC+1, Michael Di Domenico wrote:
> >
> > On Wed, Apr 25, 2018 at 10:14 AM, Luke Bigum <[email protected] 
> > <javascript:>> wrote: 
> > > On Wednesday, 25 April 2018 15:01:00 UTC+1, Michael Di Domenico wrote: 
> > >> 
> > >> in the past i'd copy my ruby facts into 
> > >> /usr/share/ruby/vendor_ruby_facter (which probably wasnt right) 
> > > 
> > > 
> > > No... That's definitely not right :-)  Puppet has had a feature called 
> > > "pluginsync" for a while now, which downloads ruby code (types, 
> > providers, 
> > > facts) from a Puppet Master before it does anything on a Puppet Agent. 
> >  The 
> > > Agent will write it's downloaded Ruby code into /var/lib/puppet/lib/ 
> > > (/opt/puppetlabs/puppet/cache/lib in Puppet 5), and it will keep it 
> > > synchronised so you can't pollute it. 
> >
> > we're using puppet in standalone mode, not server/client. 
> >
> 
> Perhaps something like this then, though that answer is old, in theory it 
> should probably work for new Puppet:
> 
> https://ask.puppet.com/question/4645/puppet-apply-and-pluginsync/ 
> 

In recent Puppet with puppet apply it automatically finds facts in your 
modules, you dont need to copy them anywhere or sync them.

I have not really been following this thread sorry if that's not helpful - but 
it basically just works

-- 
R.I.Pienaar / www.devco.net / @ripienaar

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/1524671882.3806645.1350479616.109AD328%40webmail.messagingengine.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to