Fix metadata-json-lint fail by updating Puppet 51/60151/2
authorDaniel Farrell <dfarrell@redhat.com>
Mon, 10 Jul 2017 17:14:50 +0000 (13:14 -0400)
committerDaniel Farrell <dfarrell@redhat.com>
Mon, 10 Jul 2017 17:33:08 +0000 (13:33 -0400)
We were pinned to 4.8, which metadata-json-lint was failing with due to
a (new) missing dep on semantic_puppet. Using >=4.9 doesn't require
specifying that dep explicitly. Pin to the latest Puppet 4.x version.

Also update the Puppet module metadata to reflect version change.

Change-Id: I26535cc4799e16d7088efcd3099b40a70c34e433
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Gemfile
metadata.json

diff --git a/Gemfile b/Gemfile
index 283c8ca635fd127fd9a3e75e6586e2b583fa7bd4..a857a840c2b3b68d48e366ad997110b0eb015fac 100644 (file)
--- a/Gemfile
+++ b/Gemfile
@@ -2,7 +2,7 @@ source "https://rubygems.org"
 
 group :test do
   gem "rake"
-  gem "puppet", ENV['PUPPET_VERSION'] || '~> 4.8.0'
+  gem "puppet", ENV['PUPPET_VERSION'] || '~> 4.0'
   gem "rspec-puppet"
   gem "puppetlabs_spec_helper"
   gem "metadata-json-lint"
index c0cf91ace00925e4a2cbe9de4665b8c46507f59d..ccf3e6f6aa37426bfe142ebda637baed95072be0 100644 (file)
@@ -58,7 +58,7 @@
     "requirements": [
         {
             "name": "puppet",
-            "version_requirement": ">=3.4.0 <4.4.0"
+            "version_requirement": ">=4.0.0 <5.0.0"
         }
     ]
 }