diff options
| author | Richard Crowley <r@rcrowley.org> | 2011-03-22 23:46:21 +0000 |
|---|---|---|
| committer | Richard Crowley <r@rcrowley.org> | 2011-03-23 01:33:53 +0000 |
| commit | 5d7715b0c56c6f06d916126e8470d7edb66d7687 (patch) | |
| tree | a8e0b0bd4e5c71ef1ec892857a398c3314f5890f /lib/puppet/application | |
| parent | 6dd629cb79e56d0bbf4670b84a73b0a7e3eef919 (diff) | |
| download | puppet-5d7715b0c56c6f06d916126e8470d7edb66d7687.tar.gz puppet-5d7715b0c56c6f06d916126e8470d7edb66d7687.tar.xz puppet-5d7715b0c56c6f06d916126e8470d7edb66d7687.zip | |
Factoring cert status app back into certificate.
Diffstat (limited to 'lib/puppet/application')
| -rw-r--r-- | lib/puppet/application/certificate.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/puppet/application/certificate.rb b/lib/puppet/application/certificate.rb index 4a2b3ef70..edb4eefd3 100644 --- a/lib/puppet/application/certificate.rb +++ b/lib/puppet/application/certificate.rb @@ -1,4 +1,17 @@ require 'puppet/application/indirection_base' class Puppet::Application::Certificate < Puppet::Application::IndirectionBase + + # Luke used to call this --ca but that's taken by the global boolean --ca. + # Since these options map CA terminology to indirector terminology, it's + # now called --ca-location. + option "--ca-location CA_LOCATION" do |arg| + handle_terminus({ + :local => :file, + :remote => :rest, + :only => :file, + :none => nil, + }[arg.to_sym]) + end + end |
