Sha256: 54c542424f623d10837abef4b08a31b162ae59adab8f0b576f092954838d6e54

Contents?: true

Size: 657 Bytes

Versions: 68

Compression:

Stored size: 657 Bytes

Contents

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'))
    on(node, puppet('module','install','cumuluslinux-cumulus_interfaces'))
    on(node, puppet('module','install','cumuluslinux-cumulus_interface_policy'))
    on(node, puppet('module','install','cumuluslinux-cumulus_ports'))
  end
end

Version data entries

68 entries across 68 versions & 1 rubygems

Version Path
beaker-puppet-0.14.0 setup/aio/020_InstallCumulusModules.rb
beaker-puppet-0.13.6 setup/aio/020_InstallCumulusModules.rb
beaker-puppet-0.13.5 setup/aio/020_InstallCumulusModules.rb
beaker-puppet-0.13.4 setup/aio/020_InstallCumulusModules.rb
beaker-puppet-0.13.3 setup/aio/020_InstallCumulusModules.rb
beaker-puppet-0.13.2 setup/aio/020_InstallCumulusModules.rb
beaker-puppet-0.13.1 setup/aio/020_InstallCumulusModules.rb
beaker-puppet-0.13.0 setup/aio/020_InstallCumulusModules.rb