Module: Puppet::Util::Libuser

Defined in:
lib/puppet/util/libuser.rb

Overview

API:

  • public

Class Method Summary collapse

Class Method Details

.getconfObject

API:

  • public



2
3
4
# File 'lib/puppet/util/libuser.rb', line 2

def self.getconf
  File.expand_path("../libuser.conf", __FILE__)
end

.getenvObject

API:

  • public



6
7
8
9
10
# File 'lib/puppet/util/libuser.rb', line 6

def self.getenv
  newenv = {}
  newenv['LIBUSER_CONF'] = getconf
  newenv
end