diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-01-30 01:21:19 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-01-30 01:21:19 +0000 |
| commit | 1374e4ebe54912225979cd30d4bc1bb74bbb7800 (patch) | |
| tree | e9297e136f8d8e67ca8ffa0b29972b8207028ce6 /bin | |
| parent | dc580cf1258f62ce2cb690f132f231d76fa010ff (diff) | |
| download | puppet-1374e4ebe54912225979cd30d4bc1bb74bbb7800.tar.gz puppet-1374e4ebe54912225979cd30d4bc1bb74bbb7800.tar.xz puppet-1374e4ebe54912225979cd30d4bc1bb74bbb7800.zip | |
Moving the switch that disables the certificate authority into the main library, so they can be disabled in the configuration file.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2118 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/puppetmasterd | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/bin/puppetmasterd b/bin/puppetmasterd index 96b2c9c2d..2fd27ac46 100755 --- a/bin/puppetmasterd +++ b/bin/puppetmasterd @@ -46,7 +46,8 @@ # Do not function as a file bucket. # # noca:: -# Do not function as a certificate authority. +# Do not function as a certificate authority. This is deprecated. Use '--no-ca' +# now. # # nonodes:: # Do not use individual node designations; each node will receive the result @@ -111,7 +112,6 @@ bucket = {} args = {} options = { - :haveca => true, :havereport => true, :havebucket => true, :havemaster => true, @@ -137,7 +137,8 @@ begin when "--noreports" options[:havereport] = false when "--noca" - options[:haveca] = false + Puppet[:ca] = false + Puppet.warning "--noca is deprecated. Please use --no-ca." when "--nomaster" options[:havemaster] = false when "--nobucket" @@ -219,7 +220,7 @@ if options[:havereport] handlers[:Report] = report end -if options[:haveca] +if Puppet[:ca] handlers[:CA] = ca end |
