Issue #17709 has been updated by Andrew  Parker.

Status changed from Accepted to Needs More Information
Assignee set to Asif Iqbal

Asif, I've tried to reproduce this failure but haven't been able to.

Here is what I did:

  * Installed Ubuntu 12.04
  * gem install puppet -v 3.0.1
  * puppet --version

That worked as I expected. I also tried installing the 2.6.9 gem at the same 
time as the 3.0.1 gem and actually it still worked. I then had the 2.6.9 gem 
installed at the same time as the 3.0.1 package from apt.puppetlabs.com and was 
also not able to reproduce this problem.

Asif, can you provide steps to reproduce this from a known state? Ideally that 
would be from a clean install of the OS, the steps to get puppet installed to 
the point where you see the error. At the moment, without any more information 
this looks like a improperly installed puppet. The other issues that Jeff links 
to may or may not be related since they are all about third-party tools needing 
changes in order to integrate with puppet 3 because we changed how 
configuration settings are initialized. I would be surprised if puppet itself 
had this problem.
----------------------------------------
Bug #17709: Puppet failing to run - Error: Could not intialize global default 
settings: Error converting value for param 'factpath': Could not find value for 
$confdir
https://projects.puppetlabs.com/issues/17709#change-77144

Author: Asif Iqbal
Status: Needs More Information
Priority: Normal
Assignee: Asif Iqbal
Category: settings
Target version: 3.0.2
Affected Puppet version: 
Keywords: settings defaults confdir
Branch: 


OS: Ubuntu 12.04.1 LTS 
Puppet version: 3.0.1

puppet is failing to run and here is the trace output.

<pre>
$ puppet apply --trace --evaltrace -e 'user {"dummy": ensure => present}'
Error: Could not intialize global default settings: Error converting value for 
param 'factpath': Could not find value for $confdir
/usr/lib/ruby/vendor_ruby/puppet/settings.rb:252:in `convert'
/usr/lib/ruby/vendor_ruby/puppet/settings.rb:243:in `gsub'
/usr/lib/ruby/vendor_ruby/puppet/settings.rb:243:in `convert'
/usr/lib/ruby/vendor_ruby/puppet/settings.rb:971:in `value'
/usr/lib/ruby/vendor_ruby/puppet/settings.rb:577:in `unsafe_parse'
/usr/lib/ruby/vendor_ruby/puppet/settings.rb:1087:in `each_source'
/usr/lib/ruby/vendor_ruby/puppet/settings.rb:1083:in `each'
/usr/lib/ruby/vendor_ruby/puppet/settings.rb:1083:in `each_source'
/usr/lib/ruby/vendor_ruby/puppet/settings.rb:570:in `unsafe_parse'
/usr/lib/ruby/vendor_ruby/puppet/settings.rb:569:in `each'
/usr/lib/ruby/vendor_ruby/puppet/settings.rb:569:in `unsafe_parse'
/usr/lib/ruby/vendor_ruby/puppet/settings.rb:478:in `parse_config_files'
/usr/lib/ruby/1.8/sync.rb:230:in `synchronize'
/usr/lib/ruby/vendor_ruby/puppet/settings.rb:477:in `parse_config_files'
/usr/lib/ruby/vendor_ruby/puppet/settings.rb:147:in `initialize_global_settings'
/usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:70:in `execute'
/usr/lib/ruby/vendor_ruby/puppet/util.rb:500:in `exit_on_fail'
/usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:69:in `execute'
/usr/bin/puppet:4
</pre>


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to