# File lib/puppet/application/cert.rb, line 209 def main if @all hosts = :all elsif @signed hosts = :signed else hosts = command_line.args.collect { |h| h.downcase } end begin apply(@ca, :revoke, options.merge(:to => hosts)) if subcommand == :destroy apply(@ca, subcommand, options.merge(:to => hosts, :digest => @digest)) rescue => detail Puppet.log_exception(detail) exit(24) end end