summaryrefslogtreecommitdiffstats
path: root/lib/puppet/application/puppetca.rb
diff options
context:
space:
mode:
authorJames Turnbull <james@lovedthanlost.net>2010-01-19 08:36:36 +1100
committerJames Turnbull <james@lovedthanlost.net>2010-01-19 08:36:36 +1100
commitd77c9ace9fa3dc39fa1b36f1224d3eda32ed2703 (patch)
treecfb048f918e069668727e625c8c2a42bb687d2ec /lib/puppet/application/puppetca.rb
parent58a81ba0e074ac8b3c6b7f8cd5c59fa18eb7f58a (diff)
downloadpuppet-d77c9ace9fa3dc39fa1b36f1224d3eda32ed2703.tar.gz
puppet-d77c9ace9fa3dc39fa1b36f1224d3eda32ed2703.tar.xz
puppet-d77c9ace9fa3dc39fa1b36f1224d3eda32ed2703.zip
Revert "Feature #2839 - fingerprint certificate"
This reverts commit a9fb82b0026e75a670fec553b17de3b0f091c2a5. An older branch was pulled
Diffstat (limited to 'lib/puppet/application/puppetca.rb')
-rw-r--r--lib/puppet/application/puppetca.rb8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/puppet/application/puppetca.rb b/lib/puppet/application/puppetca.rb
index 6ef867762..adc1a6ff5 100644
--- a/lib/puppet/application/puppetca.rb
+++ b/lib/puppet/application/puppetca.rb
@@ -6,7 +6,7 @@ Puppet::Application.new(:puppetca) do
should_parse_config
- attr_accessor :mode, :all, :ca, :digest
+ attr_accessor :mode, :all, :ca
def find_mode(opt)
modes = Puppet::SSL::CertificateAuthority::Interface::INTERFACE_METHODS
@@ -22,10 +22,6 @@ Puppet::Application.new(:puppetca) do
@all = true
end
- option("--digest DIGEST", "-d") do |arg|
- @digest = arg
- end
-
option("--debug", "-d") do |arg|
Puppet::Util::Log.level = :debug
end
@@ -48,7 +44,7 @@ Puppet::Application.new(:puppetca) do
end
begin
@ca.apply(:revoke, :to => hosts) if @mode == :destroy
- @ca.apply(@mode, :to => hosts, :digest => @digest)
+ @ca.apply(@mode, :to => hosts)
rescue => detail
puts detail.backtrace if Puppet[:trace]
puts detail.to_s