From 2d22427ee7c38fd9e1c62d1a7b1094c88e498e5f Mon Sep 17 00:00:00 2001 From: Bryan Jen Date: Fri, 24 Apr 2015 14:29:09 -0700 Subject: [PATCH] Pins apt version for ci --- .fixtures.yml | 4 +++- spec/spec_helper_acceptance.rb | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.fixtures.yml b/.fixtures.yml index 1d111f975..90ea11887 100644 --- a/.fixtures.yml +++ b/.fixtures.yml @@ -1,7 +1,9 @@ fixtures: repositories: "stdlib": "git://github.com/puppetlabs/puppetlabs-stdlib.git" - "apt": "git://github.com/puppetlabs/puppetlabs-apt.git" + "apt": + repo: "git://github.com/puppetlabs/puppetlabs-apt.git" + branch: "1.8.x" "staging": "git://github.com/nanliu/puppet-staging.git" erlang: repo: "https://github.com/garethr/garethr-erlang.git" diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb index 4c52dee15..b82ba36ca 100644 --- a/spec/spec_helper_acceptance.rb +++ b/spec/spec_helper_acceptance.rb @@ -26,7 +26,7 @@ shell("/bin/touch #{default['puppetpath']}/hiera.yaml") shell('puppet module install puppetlabs-stdlib', { :acceptable_exit_codes => [0,1] }) if fact('osfamily') == 'Debian' - shell('puppet module install puppetlabs-apt', { :acceptable_exit_codes => [0,1] }) + shell('puppet module install puppetlabs-apt --version 1.8.0 --force', { :acceptable_exit_codes => [0,1] }) end shell('puppet module install nanliu-staging', { :acceptable_exit_codes => [0,1] }) if fact('osfamily') == 'RedHat'