我无法在木偶版本3下启动工头
foreman/usr/lib/ruby/vendor_ruby/puppet/settings.rb:252:in `convert': Error converting value for param 'hostcert': Error converting value for param 'certdir': Error converting value for param 'ssldir': Could not find value for $confdir (Puppet::Settings::InterpolationError)
from /usr/lib/ruby/vendor_ruby/puppet/settings.rb:243:in `gsub'
from /usr/lib/ruby/vendor_ruby/puppet/settings.rb:243:in `convert'
from /usr/lib/ruby/vendor_ruby/puppet/settings.rb:971:in `value'
from /usr/lib/ruby/vendor_ruby/puppet/settings.rb:249:in `convert'
from /usr/lib/ruby/vendor_ruby/puppet/settings.rb:243:in `gsub'
from /usr/lib/ruby/vendor_ruby/puppet/settings.rb:243:in `convert'
from /usr/lib/ruby/vendor_ruby/puppet/settings.rb:971:in `value'
from /usr/lib/ruby/vendor_ruby/puppet/settings.rb:249:in `convert'
from /usr/lib/ruby/vendor_ruby/puppet/settings.rb:243:in `gsub'
from /usr/lib/ruby/vendor_ruby/puppet/settings.rb:243:in `convert'
from /usr/lib/ruby/vendor_ruby/puppet/settings.rb:971:in `value'
from /usr/lib/ruby/vendor_ruby/puppet/settings.rb:66:in `[]'
from /usr/share/foreman/lib/foreman/default_settings/loader.rb:43:in `load'
from /usr/share/foreman/vendor/ruby/1.8/gems/activerecord-3.0.17/lib/active_record/connection_adapters/abstract/database_statements.rb:139:in `transaction'
from /usr/share/foreman/vendor/ruby/1.8/gems/activerecord-3.0.17/lib/active_record/transactions.rb:207:in `transaction'
from /usr/share/foreman/lib/foreman/default_settings/loader.rb:28:in `load'
from /usr/share/foreman/config/initializers/foreman.rb:4
from /usr/share/foreman/vendor/ruby/1.8/gems/activesupport-3.0.17/lib/active_support/dependencies.rb:236:in `load'
from /usr/share/foreman/vendor/ruby/1.8/gems/activesupport-3.0.17/lib/active_support/dependencies.rb:236:in `load'
from /usr/share/foreman/vendor/ruby/1.8/gems/activesupport-3.0.17/lib/active_support/dependencies.rb:227:in `load_dependency'
from /usr/share/foreman/vendor/ruby/1.8/gems/activesupport-3.0.17/lib/active_support/dependencies.rb:236:in `load'
from /usr/share/foreman/vendor/ruby/1.8/gems/railties-3.0.17/lib/rails/engine.rb:201
from /usr/share/foreman/vendor/ruby/1.8/gems/railties-3.0.17/lib/rails/engine.rb:200:in `each'
from /usr/share/foreman/vendor/ruby/1.8/gems/railties-3.0.17/lib/rails/engine.rb:200
from /usr/share/foreman/vendor/ruby/1.8/gems/railties-3.0.17/lib/rails/initializable.rb:25:in `instance_exec'
from /usr/share/foreman/vendor/ruby/1.8/gems/railties-3.0.17/lib/rails/initializable.rb:25:in `run'
from /usr/share/foreman/vendor/ruby/1.8/gems/railties-3.0.17/lib/rails/initializable.rb:50:in `run_initializers'
from /usr/share/foreman/vendor/ruby/1.8/gems/railties-3.0.17/lib/rails/initializable.rb:49:in `each'
from /usr/share/foreman/vendor/ruby/1.8/gems/railties-3.0.17/lib/rails/initializable.rb:49:in `run_initializers'
from /usr/share/foreman/vendor/ruby/1.8/gems/railties-3.0.17/lib/rails/application.rb:134:in `initialize!'
from /usr/share/foreman/vendor/ruby/1.8/gems/railties-3.0.17/lib/rails/application.rb:77:in `send'
from /usr/share/foreman/vendor/ruby/1.8/gems/railties-3.0.17/lib/rails/application.rb:77:in `method_missing'
from /usr/share/foreman/config/environment.rb:5
from /usr/share/foreman/vendor/ruby/1.8/gems/activesupport-3.0.17/lib/active_support/dependencies.rb:242:in `require'
from /usr/share/foreman/vendor/ruby/1.8/gems/activesupport-3.0.17/lib/active_support/dependencies.rb:242:in `require'
from /usr/share/foreman/vendor/ruby/1.8/gems/activesupport-3.0.17/lib/active_support/dependencies.rb:225:in `load_dependency'
from /usr/share/foreman/vendor/ruby/1.8/gems/activesupport-3.0.17/lib/active_support/dependencies.rb:597:in `new_constants_in'
from /usr/share/foreman/vendor/ruby/1.8/gems/activesupport-3.0.17/lib/active_support/dependencies.rb:225:in `load_dependency'
from /usr/share/foreman/vendor/ruby/1.8/gems/activesupport-3.0.17/lib/active_support/dependencies.rb:242:in `require'
from /usr/share/foreman/config.ru:3
from /usr/share/foreman/vendor/ruby/1.8/gems/rack-1.2.5/lib/rack/builder.rb:46:in `instance_eval'
from /usr/share/foreman/vendor/ruby/1.8/gems/rack-1.2.5/lib/rack/builder.rb:46:in `initialize'
from /usr/share/foreman/config.ru:1:in `new'
from /usr/share/foreman/config.ru:1
failed!
我已经应用了以下网址中的所有解决方法但仍然无法解决它
http://theforeman.org/attachments/410/3_0-hack.patch http://theforeman.org/projects/foreman/wiki/PuppetThreeWorkarounds https://groups.google.com/forum/?fromgroups=#!topic/foreman-users/QHyu-U7nE6Q http://theforeman.org/projects/foreman/wiki/Troubleshooting
下面是我的puppet.conf
[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
factpath=/var/lib/puppet/lib/facter
templatedir=/etc/puppet/templates
hostcert = /var/lib/puppet/ssl/certs/puppet.pem
certdir = /var/lib/puppet/ssl/certs
[master]
ssl_client_header = SSL_CLIENT_S_DN
ssl_client_verify_header = SSL_CLIENT_VERIFY
#reports
reports = http,store
reporturl = http://puppet:3000/reports
我尝试手动将confdir = / etc / puppet添加到puppet.conf并仍然提示帮助
我重新启动了所有的工头 - 代理和傀儡服务,但仍然没有运气。感谢任何帮助在这个盒子上开始领班。
puppet版本3.0.1,debian 2.6.32-5上的工头版本1.0
由于
答案 0 :(得分:1)
我最近做了一些改动以压制这个并且一直在更新你提到的PuppetThreeWorkarounds页面。
从12月6日或1.1 RC1开始提供夜间套餐,这个问题应该得到解决。