Sha256: 8f98eaa593a01a9ef1f63f2e099d72c58fbbdd3ae461fcd4bef401545116fb92

Contents?: true

Size: 441 Bytes

Versions: 3

Compression:

Stored size: 441 Bytes

Contents

require 'acceptance/install'
extend Acceptance::Install

step 'Install facter' do
  sha = ENV['SHA'] || ENV['GIT_SHA'] || 'nightly'
  hosts.each do |host|
    install_repos_on(host, 'puppet-agent', sha, 'repo-configs')
    host.add_env_var('PATH', '/opt/puppetlabs/bin:${PATH}')
  end

  PACKAGES = {
    :redhat => [
      'puppet-agent',
    ],
    :debian => [
      'puppet-agent',
    ],
  }

  install_packages_on(hosts, PACKAGES)
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
beaker-facter-0.1.2 acceptance/pre-suite/010_install.rb
beaker-facter-0.1.1 acceptance/pre-suite/010_install.rb
beaker-facter-0.1.0 acceptance/pre-suite/010_install.rb