lib/beaker/dsl/install_utils/foss_defaults.rb in beaker-3.6.0 vs lib/beaker/dsl/install_utils/foss_defaults.rb in beaker-3.7.0
- old
+ new
@@ -81,10 +81,27 @@
'hieradatadir' => '/etc/puppet/hieradata',
'hieraconf' => '/etc/puppet/hiera.yaml',
'distmoduledir' => '/etc/puppet/modules',
'sitemoduledir' => '/usr/share/puppet/modules',
},
+ 'archlinux' => {
+ 'puppetserver-confdir' => '/etc/puppetserver/conf.d',
+ 'puppetservice' => 'puppetmaster',
+ 'puppetpath' => '/etc/puppetlabs/puppet',
+ 'puppetconfdir' => '/etc/puppetlabs/puppet',
+ 'puppetvardir' => '/opt/puppetlabs/puppet/cache',
+ 'puppetbin' => '/usr/bin/puppet',
+ 'puppetbindir' => '/usr/bin',
+ 'privatebindir' => '/usr/bin',
+ 'hieralibdir' => '/var/lib/hiera',
+ 'hierapuppetlibdir' => '/opt/puppet-git-repos/hiera-puppet/lib',
+ 'hierabindir' => '/usr/bin',
+ 'hieradatadir' => '/etc/puppetlabs/code/hiera',
+ 'hieraconf' => '/etc/hiera.yaml',
+ 'distmoduledir' => '/etc/puppetlabs/code/modules',
+ 'sitemoduledir' => '/usr/share/puppet/modules',
+ },
'windows' => { #cygwin windows
'puppetpath' => '`cygpath -smF 35`/PuppetLabs/puppet/etc',
'puppetconfdir' => '`cygpath -smF 35`/PuppetLabs/puppet/etc',
'puppetcodedir' => '`cygpath -smF 35`/PuppetLabs/puppet/etc',
'hieraconf' => '`cygpath -smF 35`/Puppetlabs/puppet/etc/hiera.yaml',
@@ -142,9 +159,11 @@
platform = 'openbsd'
when /mac/
platform = 'mac'
when /pswindows/
platform = 'pswindows'
+ when /archlinux/
+ platform = 'archlinux'
else
platform = 'windows'
end
add_platform_foss_defaults(host, platform)
end