diff --git a/ext/rack/files/config.ru b/ext/rack/files/config.ru index 5f0834a7d..995a9f8c5 100644 --- a/ext/rack/files/config.ru +++ b/ext/rack/files/config.ru @@ -1,18 +1,17 @@ # a config.ru, for use with every rack-compatible webserver. # SSL needs to be handled outside this, though. # if puppet is not in your RUBYLIB: # $:.unshift('/opt/puppet/lib') $0 = "puppetmasterd" require 'puppet' # if you want debugging: # ARGV << "--debug" ARGV << "--rack" -require 'puppet/application/puppetmasterd' +require 'puppet/application/master' # we're usually running inside a Rack::Builder.new {} block, # therefore we need to call run *here*. -run Puppet::Application[:puppetmasterd].run - +run Puppet::Application[:master].run