acceptance/pre_suite/gem/install.rb in beaker-puppet-1.29.0 vs acceptance/pre_suite/gem/install.rb in beaker-puppet-2.0.0
- old
+ new
@@ -1,10 +1,10 @@
require 'beaker-puppet'
hosts.each do |host|
- install_puppet_from_gem(host, {:version => '3.8.7'})
- unless host['platform'] =~ /windows/
- on(host, "touch #{File.join(host.puppet['confdir'],'puppet.conf')}")
- on(host, puppet('resource user puppet ensure=present'))
- on(host, puppet('resource group puppet ensure=present'))
- end
+ install_puppet_from_gem(host, { version: '3.8.7' })
+ next if host['platform'] =~ /windows/
+
+ on(host, "touch #{File.join(host.puppet['confdir'], 'puppet.conf')}")
+ on(host, puppet('resource user puppet ensure=present'))
+ on(host, puppet('resource group puppet ensure=present'))
end