Created
March 15, 2010 16:18
-
-
Save masterzen/332996 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $:.unshift('/home/brice/devl/puppet/lib') | |
| $0 = "puppetmasterd" | |
| require 'puppet' | |
| ARGV << "--verbose" | |
| ARGV << "--trace" | |
| ARGV << "--confdir" | |
| ARGV << "/tmp/master" | |
| ARGV << "--vardir" | |
| ARGV << "/tmp/master" | |
| ARGV << "--no-daemonize" | |
| ARGV << "--user" | |
| ARGV << "brice" | |
| ARGV << "--rack" | |
| require 'puppet/application/puppetmasterd' | |
| # we're usually running inside a Rack::Builder.new {} block, | |
| # therefore we need to call run *here*. | |
| run Puppet::Application[:puppetmasterd].run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment