Module: Puppet::Util::Libuser

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

Class Method Summary collapse

Class Method Details

.getconfObject



4
5
6
# File 'lib/puppet/util/libuser.rb', line 4

def self.getconf
  File.expand_path('libuser.conf', __dir__)
end

.getenvObject



8
9
10
11
12
# File 'lib/puppet/util/libuser.rb', line 8

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