setup/aio/020_InstallCumulusModules.rb in beaker-puppet-0.12.0 vs setup/aio/020_InstallCumulusModules.rb in beaker-puppet-0.13.0
- old
+ new
@@ -1,6 +1,7 @@
platforms = hosts.map{|val| val[:platform]}
skip_test "No cumulus hosts present" unless platforms.any? { |val| /cumulus/ =~ val }
+skip_test "not testing with puppetserver" unless @options['is_puppetserver']
confine :to, {}, hosts.select { |host| host[:roles].include?('master') }
step 'install Cumulus Modules on masters' do
hosts.each do |node|
on(node, puppet('module','install','cumuluslinux-cumulus_license'))