diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-01-18 21:30:56 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-01-18 21:30:56 +0000 |
| commit | 0cb51f3f7fb442b1b915523c93461b9a24febacb (patch) | |
| tree | 578660289fa846e32450ff36e6ea5d524e7ba180 /bin/puppetmasterd | |
| parent | f49b1030fc6f81c1776e09d8ce5e9134c828a77a (diff) | |
| download | puppet-0cb51f3f7fb442b1b915523c93461b9a24febacb.tar.gz puppet-0cb51f3f7fb442b1b915523c93461b9a24febacb.tar.xz puppet-0cb51f3f7fb442b1b915523c93461b9a24febacb.zip | |
Fixing a small checksumming bug, reorganizing the client stuff a bit, and adding freshness checking for the configuration, so the config is recompiled every time nor is it downloaded unless it has been recompiled
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@845 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'bin/puppetmasterd')
| -rwxr-xr-x | bin/puppetmasterd | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/bin/puppetmasterd b/bin/puppetmasterd index 592051e3d..685ff6485 100755 --- a/bin/puppetmasterd +++ b/bin/puppetmasterd @@ -61,6 +61,9 @@ # configurations. Defaults to /etc/puppet/manifests/site.pp. # # noca:: +# Do not function as a file bucket. +# +# noca:: # Do not function as a certificate authority. # # nonodes:: @@ -116,6 +119,7 @@ result = GetoptLong.new( [ "--logdest", "-l", GetoptLong::REQUIRED_ARGUMENT ], [ "--manifest", "-m", GetoptLong::REQUIRED_ARGUMENT ], [ "--noca", GetoptLong::NO_ARGUMENT ], + [ "--nobucket", GetoptLong::NO_ARGUMENT ], [ "--nonodes", GetoptLong::NO_ARGUMENT ], [ "--parseonly", GetoptLong::NO_ARGUMENT ], [ "--port", "-p", GetoptLong::REQUIRED_ARGUMENT ], @@ -139,12 +143,15 @@ haveca = true master = {} ca = {} fs = {} +bucket = {} args = {} #user = Puppet[:user] #group = Puppet[:group] user = nil group = nil +havebucket = true + parseonly = false begin @@ -177,6 +184,8 @@ begin master[:File] = arg when "--noca" haveca = false + when "--nobucket" + havebucket = false when "--nonodes" master[:UseNodes] = false when "--parseonly" @@ -271,6 +280,10 @@ if haveca handlers[:CA] = ca end +#if havebucket +# handlers[:FileBucket] = bucket +#end + unless fs.include?(:Config) if File.exists?(Puppet[:fileserverconfig]) fs[:Config] = Puppet[:fileserverconfig] |
