>
> Now this may be related to 3.6.x but I cannot say for sure. A couple of 
> facts we use are now throwing some errors.
>
> First is:-
> Could not retrieve fact='concat_basedir', resolution='<anonymous>': 
> uninitialized constant Puppet
>
> Which comes from:-
> Facter.add("concat_basedir") do
>     setcode do
>         File.join(Puppet[:vardir],"concat")
>     end
> end
>
> The second is:-
> Error converting value for param 'config': Could not find value for 
> $confdir
>
> Which comes from this extract:-
>           if Puppet.version.to_i >= 3
>             Puppet.settings.initialize_global_settings(Puppet[:config]) 
> unless Puppet.settings.global_defaults_initialized?
>           else
>             Puppet.parse_config
>           end
>
> If I set it with:-
>
> Puppet.settings.initialize_global_settings(["--config=/etc/puppet/puppet.conf"])
>

I am of course a (hungover) idiot. Running with "facter -p" pulls those 
Puppet config settings in just fine..... 

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/7efac28e-0422-424e-9738-0ff4508aff48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to