3 unless ENV['RS_PROVISION'] == 'no'
9 install_package host, 'rubygems'
10 on host, 'gem install puppet --no-ri --no-rdoc'
11 on host, "mkdir -p #{host['distmoduledir']}"
16 RSpec.configure do |c|
18 proj_root = File.expand_path(File.join(File.dirname(__FILE__), '..'))
20 # Readable test descriptions
21 c.formatter = :documentation
23 # Configure all nodes in nodeset
25 # Install module and dependencies
26 puppet_module_install(:source => proj_root, :module_name => 'apt')
28 shell('/bin/touch /etc/puppet/hiera.yaml')
29 shell('puppet module install puppetlabs-stdlib --version 2.2.1', { :acceptable_exit_codes => [0,1] })