Fix acceptance tests

This commit is contained in:
Morgan Haskel 2015-02-18 13:42:43 -08:00
parent 1534042c93
commit 9f758e8b5f
2 changed files with 2 additions and 2 deletions

View file

@ -2,6 +2,6 @@ fixtures:
repositories:
"stdlib":
"repo": "git://github.com/puppetlabs/puppetlabs-stdlib.git"
"ref": "v2.2.1"
"ref": "4.5.0"
symlinks:
"apt": "#{source_dir}"

View file

@ -28,7 +28,7 @@ RSpec.configure do |c|
hosts.each do |host|
copy_module_to(host, :source => proj_root, :module_name => 'apt')
shell("/bin/touch #{default['puppetpath']}/hiera.yaml")
on host, puppet('module install puppetlabs-stdlib --version 2.2.1'), { :acceptable_exit_codes => [0,1] }
on host, puppet('module install puppetlabs-stdlib --version 4.5.0'), { :acceptable_exit_codes => [0,1] }
end
end
end