4 unless ENV['RS_PROVISION'] == 'no'
5 # This will install the latest available package on el and deb based
6 # systems fail on windows and osx, and install via gem on other *nixes
8 :default_action => 'gem_install',
9 :version => (ENV['PUPPET_VERSION'] || '3.8.1'),
12 if default.is_pe?; then install_pe; else install_puppet( foss_opts ); end
15 on host, "mkdir -p #{host['distmoduledir']}"
19 UNSUPPORTED_PLATFORMS = ['RedHat','Suse','windows','AIX','Solaris']
21 RSpec.configure do |c|
23 proj_root = File.expand_path(File.join(File.dirname(__FILE__), '..'))
25 # Readable test descriptions
26 c.formatter = :documentation
28 # Configure all nodes in nodeset
30 # Install module and dependencies
32 copy_module_to(host, :source => proj_root, :module_name => 'apt')
33 shell("/bin/touch #{default['puppetpath']}/hiera.yaml")
34 on host, puppet('module install puppetlabs-stdlib --version 4.5.0'), { :acceptable_exit_codes => [0,1] }