Skip to content

Commit

Permalink
Enforce dependency version in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hunner committed Feb 14, 2014
1 parent 3876813 commit 398309f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .fixtures.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
fixtures:
repositories:
"stdlib": "git://github.com/puppetlabs/puppetlabs-stdlib.git"
"stdlib":
"repo": "git://github.com/puppetlabs/puppetlabs-stdlib.git"
"ref": "v2.2.1"
symlinks:
"apt": "#{source_dir}"
2 changes: 1 addition & 1 deletion spec/spec_helper_acceptance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
puppet_module_install(:source => proj_root, :module_name => 'apt')
hosts.each do |host|
shell('/bin/touch /etc/puppet/hiera.yaml')
shell('puppet module install puppetlabs-stdlib', { :acceptable_exit_codes => [0,1] })
shell('puppet module install puppetlabs-stdlib --version 2.2.1', { :acceptable_exit_codes => [0,1] })
end
end
end

0 comments on commit 398309f

Please sign in to comment.