Method: Puppet::SSL::Key#initialize

Defined in:
lib/vendor/puppet/ssl/key.rb

#initialize(name) ⇒ Key

Returns a new instance of Key.



25
26
27
28
29
30
31
32
33
# File 'lib/vendor/puppet/ssl/key.rb', line 25

def initialize(name)
  super

  if ca?
    @password_file = Puppet[:capass]
  else
    @password_file = Puppet[:passfile]
  end
end