lib/beaker/dsl/install_utils/foss_defaults.rb in beaker-2.18.1 vs lib/beaker/dsl/install_utils/foss_defaults.rb in beaker-2.18.2
- old
+ new
@@ -32,10 +32,25 @@
'hieradatadir' => '/usr/local/etc/puppet/modules/hieradata',
'hieraconf' => '/usr/local/etc/puppet/modules/hiera.yaml',
'distmoduledir' => '/usr/local/etc/puppet/modules',
'sitemoduledir' => '/usr/share/puppet/modules',
},
+ 'openbsd' => {
+ 'puppetserver-confdir' => '/etc/puppetserver/conf.d',
+ 'puppetservice' => 'puppetmaster',
+ 'puppetpath' => '/etc/puppet/modules',
+ 'puppetvardir' => '/var/puppet',
+ 'puppetbin' => '/usr/local/bin/puppet',
+ 'puppetbindir' => '/usr/local/bin',
+ 'hieralibdir' => '/opt/puppet-git-repos/hiera/lib',
+ 'hierapuppetlibdir' => '/opt/puppet-git-repos/hiera-puppet/lib',
+ 'hierabindir' => '/opt/puppet-git-repos/hiera/bin',
+ 'hieradatadir' => '/etc/puppet/hieradata',
+ 'hieraconf' => '/etc/puppet/hiera.yaml',
+ 'distmoduledir' => '/etc/puppet/modules',
+ 'sitemoduledir' => '/usr/local/share/puppet/modules',
+ },
'mac' => {
'puppetserver-confdir' => '/etc/puppetserver/conf.d',
'puppetservice' => 'puppetmaster',
'puppetpath' => '/etc/puppet',
'puppetconfdir' => '/etc/puppet',
@@ -121,10 +136,12 @@
case host.class.to_s.downcase
when /aix|unix/
platform = 'unix'
when /freebsd/
platform = 'freebsd'
+ when /openbsd/
+ platform = 'openbsd'
when /mac/
platform = 'mac'
when /pswindows/
platform = 'pswindows'
else
@@ -153,9 +170,11 @@
case host.class.to_s.downcase
when /aix|unix/
platform = 'unix'
when /freebsd/
platform = 'freebsd'
+ when /openbsd/
+ platform = 'openbsd'
when /mac/
platform = 'mac'
when /pswindows/
platform = 'pswindows'
else