diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2005-09-23 20:42:08 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2005-09-23 20:42:08 +0000 |
| commit | 8211df036e1d2d24e1084616fc3fc4891b06cfdd (patch) | |
| tree | 597f8b999cf5210a7ceff5ef1e1977f1de08c241 /bin/puppetmasterd | |
| parent | d20ac8e0b564e5413d571f2059de559e0783b72d (diff) | |
| download | puppet-8211df036e1d2d24e1084616fc3fc4891b06cfdd.tar.gz puppet-8211df036e1d2d24e1084616fc3fc4891b06cfdd.tar.xz puppet-8211df036e1d2d24e1084616fc3fc4891b06cfdd.zip | |
Many, many changes toward a completely functional system. The only current problems with my home config are that apache's stupid init script does not do status and that packages are not working as non-root users (which makes sense).
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@703 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'bin/puppetmasterd')
| -rwxr-xr-x | bin/puppetmasterd | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/puppetmasterd b/bin/puppetmasterd index 055892004..33b3d1c8f 100755 --- a/bin/puppetmasterd +++ b/bin/puppetmasterd @@ -25,6 +25,10 @@ # refers to the autosign configuration file at /etc/puppet/autosign.conf to # determine which hosts should have their certificates signed. # +# confdir:: +# The configuration root directory, where +puppetmasterd+ defaults to looking +# for all of its configuration files. Defaults to +/etc/puppet+. +# # debug:: # Enable full debugging. Causes the daemon not to go into the background. # @@ -90,6 +94,7 @@ require 'puppet/server' result = GetoptLong.new( [ "--autosign", "-a", GetoptLong::NO_ARGUMENT ], + [ "--confdir", "-c", GetoptLong::REQUIRED_ARGUMENT ], [ "--debug", "-d", GetoptLong::NO_ARGUMENT ], [ "--fsconfig", "-f", GetoptLong::REQUIRED_ARGUMENT ], [ "--help", "-h", GetoptLong::NO_ARGUMENT ], @@ -126,6 +131,8 @@ begin case opt when "--autosign" ca[:autosign] = Puppet[:autosign] + when "--confdir" + Puppet[:puppetconf] = arg when "--debug" Puppet[:debug] = true when "--fsconfig" @@ -209,6 +216,9 @@ end unless fs.include?(:Config) if File.exists?(Puppet[:fileserverconfig]) fs[:Config] = Puppet[:fileserverconfig] + else + Puppet.notice "File server config %s does not exist; skipping file serving" % + Puppet[:fileserverconfig] end end |
