diff options
author | lutter <lutter@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-03-19 22:18:35 +0000 |
---|---|---|
committer | lutter <lutter@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-03-19 22:18:35 +0000 |
commit | 145c39c79dfb6f235579f93ff85c54930d00920f (patch) | |
tree | e772efbdde823acc612ce3135606cbc6a443b9b9 /bin/puppetd | |
parent | 41e1285553870f0b425b88a6209fab8733b421b2 (diff) | |
download | puppet-145c39c79dfb6f235579f93ff85c54930d00920f.tar.gz puppet-145c39c79dfb6f235579f93ff85c54930d00920f.tar.xz puppet-145c39c79dfb6f235579f93ff85c54930d00920f.zip |
Don't clobber an explicitly given waitforcert
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2331 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'bin/puppetd')
-rwxr-xr-x | bin/puppetd | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/puppetd b/bin/puppetd index be8af2287..8124a301d 100755 --- a/bin/puppetd +++ b/bin/puppetd @@ -195,6 +195,7 @@ options = { } begin + explicit_waitforcert = false result.each { |opt,arg| case opt # First check to see if the argument is a valid configuration parameter; @@ -243,7 +244,7 @@ begin options[:client] = false when "--onetime" options[:onetime] = true - options[:waitforcert] = 0 + options[:waitforcert] = 0 unless explicit_waitforcert when "--port" args[:Port] = arg when "--logdest" @@ -255,6 +256,7 @@ begin end when "--waitforcert" options[:waitforcert] = arg.to_i + explicit_waitforcert = true else Puppet.config.handlearg(opt, arg) end |