From f2e4ac52d47c18ddf3d4c35680f06a810c2cf7df Mon Sep 17 00:00:00 2001 From: Joshua Hoblitt Date: Sat, 20 Jun 2015 13:02:17 -0700 Subject: [PATCH] update puppetlabs-apt module to 2.1.0 2.1, unlike 2.0, has near compatibility with the 1.x API. --- .fixtures.yml | 2 +- metadata.json | 2 +- spec/spec_helper_acceptance.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.fixtures.yml b/.fixtures.yml index aff0071aa..7b63b444f 100644 --- a/.fixtures.yml +++ b/.fixtures.yml @@ -2,7 +2,7 @@ fixtures: repositories: apt: repo: git://github.com/puppetlabs/puppetlabs-apt.git - ref: 1.8.0 + ref: 2.1.0 stdlib: git://github.com/puppetlabs/puppetlabs-stdlib.git epel: git://github.com/stahnma/puppet-module-epel.git symlinks: diff --git a/metadata.json b/metadata.json index c573edb0f..ae862035b 100644 --- a/metadata.json +++ b/metadata.json @@ -50,7 +50,7 @@ "version_requirement": ">= 4.1.0" },{ "name": "puppetlabs/apt", - "version_requirement": ">= 1.1.0 <= 1.8.0" + "version_requirement": ">= 1.1.0 <= 3.0.0" },{ "name": "stahnma/epel", "version_requirement": ">= 0.0.6" diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb index 947463177..4e2a014d6 100644 --- a/spec/spec_helper_acceptance.rb +++ b/spec/spec_helper_acceptance.rb @@ -26,7 +26,7 @@ puppet_module_install(:source => proj_root, :module_name => 'docker') hosts.each do |host| on host, puppet('module', 'install', 'puppetlabs-stdlib'), { :acceptable_exit_codes => [0,1] } - on host, puppet('module', 'install', 'puppetlabs-apt', '--version', '1.8.0'), { :acceptable_exit_codes => [0,1] } + on host, puppet('module', 'install', 'puppetlabs-apt', '--version', '2.1.0'), { :acceptable_exit_codes => [0,1] } on host, puppet('module', 'install', 'stahnma-epel'), { :acceptable_exit_codes => [0,1] } end end