Method: Puppet::SSL::Key#initialize

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

#initialize(name) ⇒ Key

Returns a new instance of Key.



28
29
30
31
32
33
34
35
36
# File 'lib/puppet/ssl/key.rb', line 28

def initialize(name)
  super

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