Method: Bolt::Config.system_path

Defined in:
lib/bolt/config.rb

.system_pathObject



65
66
67
68
69
70
71
# File 'lib/bolt/config.rb', line 65

def self.system_path
  if Bolt::Util.windows?
    Pathname.new(File.join(ENV['ALLUSERSPROFILE'], 'PuppetLabs', 'bolt', 'etc'))
  else
    Pathname.new(File.join('/etc', 'puppetlabs', 'bolt'))
  end
end