Sha256: bcd1659498acb62d0c1f566fc3ecf0644b0239511bdcf57b8abb15a3c698ef1d
Contents?: true
Size: 733 Bytes
Versions: 1
Compression:
Stored size: 733 Bytes
Contents
require 'rake_factory' require 'ruby_easy_rsa' require_relative '../mixins/global_parameters' require_relative '../mixins/ssl_parameters' module RakeEasyRSA module Tasks module Certificate class Renew < RakeFactory::Task include Mixins::GlobalParameters include Mixins::SSLParameters default_name :renew default_argument_names [:filename_base] default_description "Renew a certificate of the PKI" action do |t, args| puts "Renewing certificate '#{args.filename_base}'... " RubyEasyRSA.renew( t.parameter_values.merge( filename_base: args.filename_base)) puts "Done." end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rake_easy_rsa-0.2.0.pre.6 | lib/rake_easy_rsa/tasks/certificate/renew.rb |