Added support for puppetmaster on OpenBSD using nxing and passenger
This commit is contained in:
parent
0b4d310656
commit
78d6eddb2c
3 changed files with 121 additions and 34 deletions
16
puppet/files/puppet-config.ru
Normal file
16
puppet/files/puppet-config.ru
Normal file
|
@ -0,0 +1,16 @@
|
|||
# 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 = "master"
|
||||
|
||||
# if you want debugging:
|
||||
#ARGV << "--debug"
|
||||
|
||||
ARGV << "--rack"
|
||||
require 'puppet/application/master'
|
||||
# we're usually running inside a Rack::Builder.new {} block,
|
||||
# therefore we need to call run *here*.
|
||||
run Puppet::Application[:master].run
|
Loading…
Add table
Add a link
Reference in a new issue