On Thu, Nov 22, 2012 at 1:42 AM, shell heriyanto
<shell.heriya...@gmail.com> wrote:
> Hi Jeff, thanks for reply,
> I also read that book, its work for puppet 2.x, but now i try with puppet 3
> with puppetdb,
> Ruby (Rack) application could not be started,
> Error message:
> undefined method `settings' for Puppet:Module
> Exception class:
> NoMethodError
> Application root:
> /etc/puppet/rack/puppetmaster
> Backtrace:
> # File Line Location
> 0 /usr/lib/ruby/site_ruby/1.8/puppet/application.rb 273 in `run_mode'
> 1 /usr/lib/ruby/site_ruby/1.8/puppet/application/master.rb 5
> 2 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb 36 in
> `gem_original_require'
> 3 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb 36 in `require'
> 4 config.ru 7
> 5 /usr/lib/ruby/gems/1.8/gems/rack-1.4.1/lib/rack/builder.rb 51 in
> `instance_eval'
> 6 /usr/lib/ruby/gems/1.8/gems/rack-1.4.1/lib/rack/builder.rb 51 in
> `initialize'
> 7 config.ru 1 in `new'
> 8 config.ru 1

When you updated to Puppet 3.0, did you also modify your config.ru
file to include the new mandatory arguments of --confdir and --vardir?

An example config.ru is located at:
https://github.com/puppetlabs/puppet/blob/3.0.1/ext/rack/files/config.ru#L14-L18

Also, how did you upgrade to Puppet 3.0?  Did you use OS native
packages, rubygem packages, or install.rb from source?  (Or some other
installation method?)

Cheers,
-Jeff

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to