On Thursday, September 5, 2013 1:16:54 PM UTC-5, Gary Larizza wrote: > > > On Thu, Sep 5, 2013 at 10:42 AM, Patrick Carlisle > <[email protected]<javascript:> > > wrote: > >> >> Try adding a call to Puppet.initialize_settings right after requiring >> puppet. I think right now you are just getting the default because nothing >> is causing puppet to read the config file. >> > > ^^ That's usually the case (I always forget the name of the method and > think it's parse_settings() or something like that). Also, you can access > those values in a shorter method with: Puppet[:noop] > > Method was Puppet.settings.parse and it worked great, thanks!
-- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-dev. For more options, visit https://groups.google.com/groups/opt_out.
