Sha256: d112bcb8638bd8f5ce327a4909644eb4716b64ef63f107f12b2150bd732270e3

Contents?: true

Size: 676 Bytes

Versions: 9

Compression:

Stored size: 676 Bytes

Contents

# frozen_string_literal: true

require 'beaker_puppet_helpers'

test_name '#install_puppet_module_via_pmt_on' do
  install_puppet_module_via_pmt_on(hosts, 'puppetlabs-stdlib')
end

test_name '#install_local_module_on' do
  step 'install module' do
    install_local_module_on(hosts, 'acceptance/dummy')
  end

  step 'clean result' do
    on hosts, 'rm -f /beaker-puppet-helpers-test'
  end

  step 'apply module' do
    on hosts, 'echo include dummy | puppet apply', run_in_parallel: true
  end

  step 'verify' do
    block_on hosts, run_in_parallel: true do |host|
      assert_equal('Hello World!', file_contents_on(host, '/beaker-puppet-helpers-test'))
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
beaker_puppet_helpers-1.6.0 acceptance/tests/module_utils.rb
beaker_puppet_helpers-1.5.0 acceptance/tests/module_utils.rb
beaker_puppet_helpers-1.3.0 acceptance/tests/module_utils.rb
beaker_puppet_helpers-1.2.1 acceptance/tests/module_utils.rb
beaker_puppet_helpers-1.2.0 acceptance/tests/module_utils.rb
beaker_puppet_helpers-1.1.1 acceptance/tests/module_utils.rb
beaker_puppet_helpers-1.1.0 acceptance/tests/module_utils.rb
beaker_puppet_helpers-1.0.1 acceptance/tests/module_utils.rb
beaker_puppet_helpers-1.0.0 acceptance/tests/module_utils.rb