Hello Stefan,

When I don't have the patches for #2782 applied, I get the following
stack trace when trying to run puppetd:

$ puppetd --verbose --debug --trace
info: Redefining file in Puppet::Type
Could not autoload file: constant Puppet::Type::File not defined
/Users/ahoang/.rvm/ruby-1.9.1-p243/lib/ruby/site_ruby/1.9.1/puppet/
util/classgen.rb:138:in `remove_const'
/Users/ahoang/.rvm/ruby-1.9.1-p243/lib/ruby/site_ruby/1.9.1/puppet/
util/classgen.rb:138:in `handleclassconst'
/Users/ahoang/.rvm/ruby-1.9.1-p243/lib/ruby/site_ruby/1.9.1/puppet/
util/classgen.rb:108:in `genthing'
/Users/ahoang/.rvm/ruby-1.9.1-p243/lib/ruby/site_ruby/1.9.1/puppet/
util/classgen.rb:28:in `genclass'
/Users/ahoang/.rvm/ruby-1.9.1-p243/lib/ruby/site_ruby/1.9.1/puppet/
metatype/manager.rb:68:in `newtype'
/Users/ahoang/.rvm/ruby-1.9.1-p243/lib/ruby/site_ruby/1.9.1/puppet.rb:
157:in `newtype'
/Users/ahoang/.rvm/ruby-1.9.1-p243/lib/ruby/site_ruby/1.9.1/puppet/
type/file.rb:13:in `<module:Puppet>'
/Users/ahoang/.rvm/ruby-1.9.1-p243/lib/ruby/site_ruby/1.9.1/puppet/
type/file.rb:12:in `<top (required)>'
/Users/ahoang/.rvm/ruby-1.9.1-p243/lib/ruby/site_ruby/1.9.1/puppet/
util/autoload.rb:85:in `load'
/Users/ahoang/.rvm/ruby-1.9.1-p243/lib/ruby/site_ruby/1.9.1/puppet/
util/autoload.rb:85:in `block in load'
/Users/ahoang/.rvm/ruby-1.9.1-p243/lib/ruby/site_ruby/1.9.1/puppet/
util/autoload.rb:81:in `each'
/Users/ahoang/.rvm/ruby-1.9.1-p243/lib/ruby/site_ruby/1.9.1/puppet/
util/autoload.rb:81:in `load'
/Users/ahoang/.rvm/ruby-1.9.1-p243/lib/ruby/site_ruby/1.9.1/puppet/
metatype/manager.rb:119:in `type'
/Users/ahoang/.rvm/ruby-1.9.1-p243/lib/ruby/site_ruby/1.9.1/puppet/
resource.rb:171:in `to_ral'
/Users/ahoang/.rvm/ruby-1.9.1-p243/lib/ruby/site_ruby/1.9.1/puppet/
resource/catalog.rb:576:in `block in to_catalog'
/Users/ahoang/.rvm/ruby-1.9.1-p243/lib/ruby/site_ruby/1.9.1/puppet/
resource/catalog.rb:554:in `each'
/Users/ahoang/.rvm/ruby-1.9.1-p243/lib/ruby/site_ruby/1.9.1/puppet/
resource/catalog.rb:554:in `to_catalog'
/Users/ahoang/.rvm/ruby-1.9.1-p243/lib/ruby/site_ruby/1.9.1/puppet/
resource/catalog.rb:474:in `to_ral'
/Users/ahoang/.rvm/ruby-1.9.1-p243/lib/ruby/site_ruby/1.9.1/puppet/
util/settings.rb:625:in `block in use'
/Users/ahoang/.rvm/ruby-1.9.1-p243/lib/ruby/1.9.1/sync.rb:225:in
`sync_synchronize'
/Users/ahoang/.rvm/ruby-1.9.1-p243/lib/ruby/site_ruby/1.9.1/puppet/
util/settings.rb:619:in `use'
/Users/ahoang/.rvm/ruby-1.9.1-p243/lib/ruby/site_ruby/1.9.1/puppet/
application/puppetd.rb:214:in `block (2 levels) in <top (required)>'
/Users/ahoang/.rvm/ruby-1.9.1-p243/lib/ruby/site_ruby/1.9.1/puppet/
application.rb:216:in `block in run'
/Users/ahoang/.rvm/ruby-1.9.1-p243/lib/ruby/site_ruby/1.9.1/puppet/
application.rb:306:in `exit_on_fail'
/Users/ahoang/.rvm/ruby-1.9.1-p243/lib/ruby/site_ruby/1.9.1/puppet/
application.rb:216:in `run'
/Users/ahoang/.rvm/ruby-1.9.1-p243/bin/puppetd:159:in `<main>'
debug: Finishing transaction 12524946 with 0 changes


After applying changes for #2782, I see the following when running
puppetd:

$ puppetd --verbose --debug --trace
debug: Failed to load library 'shadow' for feature 'libshadow'
debug: Failed to load library 'ldap' for feature 'ldap'
debug: /File[/Users/ahoang/.puppet/var]: Autorequiring File[/Users/
ahoang/.puppet]
debug: /File[/Users/ahoang/.puppet/var/log]: Autorequiring File[/Users/
ahoang/.puppet/var]
debug: /File[/Users/ahoang/.puppet/var/state]: Autorequiring File[/
Users/ahoang/.puppet/var]
debug: /File[/Users/ahoang/.puppet/var/run]: Autorequiring File[/Users/
ahoang/.puppet/var]
debug: /File[/Users/ahoang/.puppet/var/lib]: Autorequiring File[/Users/
ahoang/.puppet/var]
debug: /File[/Users/ahoang/.puppet/ssl/certs]: Autorequiring File[/
Users/ahoang/.puppet/ssl]
debug: /File[/Users/ahoang/.puppet/ssl]: Autorequiring File[/Users/
ahoang/.puppet]
debug: /File[/Users/ahoang/.puppet/ssl/public_keys]: Autorequiring File
[/Users/ahoang/.puppet/ssl]
debug: /File[/Users/ahoang/.puppet/ssl/certificate_requests]:
Autorequiring File[/Users/ahoang/.puppet/ssl]
debug: /File[/Users/ahoang/.puppet/ssl/private_keys]: Autorequiring
File[/Users/ahoang/.puppet/ssl]
debug: /File[/Users/ahoang/.puppet/ssl/private]: Autorequiring File[/
Users/ahoang/.puppet/ssl]
debug: /File[/Users/ahoang/.puppet/ssl/private_keys/
macbook.local.pem]: Autorequiring File[/Users/ahoang/.puppet/ssl/
private_keys]
debug: /File[/Users/ahoang/.puppet/ssl/public_keys/macbook.local.pem]:
Autorequiring File[/Users/ahoang/.puppet/ssl/public_keys]
debug: /File[/Users/ahoang/.puppet/var/run/puppetd.pid]: Autorequiring
File[/Users/ahoang/.puppet/var/run]
debug: /File[/Users/ahoang/.puppet/var/client_yaml]: Autorequiring File
[/Users/ahoang/.puppet/var]
debug: /File[/Users/ahoang/.puppet/var/clientbucket]: Autorequiring
File[/Users/ahoang/.puppet/var]
debug: /File[/Users/ahoang/.puppet/var/state/graphs]: Autorequiring
File[/Users/ahoang/.puppet/var/state]
debug: /File[/Users/ahoang/.puppet/var/facts]: Autorequiring File[/
Users/ahoang/.puppet/var]
debug: Finishing transaction 9288748 with 0 changes


Hope that helps,
Alain
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" 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-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to