From 9c3ac6f5fe8b6f4e4ebdf1100066f2a33cf7fb82 Mon Sep 17 00:00:00 2001 From: Gael Chamoulaud Date: Wed, 18 Mar 2015 18:42:31 +0100 Subject: [PATCH] Fix metadata.json lint issues Update license name to match a valid SPDX ID, and fix open-ended deps. https://docs.puppetlabs.com/puppet/latest/reference/modules_publishing.html Change-Id: Ib0f2ff88b40eec33c58e9ffb39127f50608356e1 Signed-off-by: Gael Chamoulaud --- Gemfile | 2 ++ metadata.json | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index 42798d9eb..45f21c011 100644 --- a/Gemfile +++ b/Gemfile @@ -2,6 +2,8 @@ source 'https://rubygems.org' group :development, :test do gem 'puppetlabs_spec_helper', :require => false + + gem 'metadata-json-lint' gem 'puppet-lint', '~> 1.1.0' gem 'puppet-lint-absolute_classname-check' gem 'puppet-lint-absolute_template_path' diff --git a/metadata.json b/metadata.json index d24811ff2..283ccb5df 100644 --- a/metadata.json +++ b/metadata.json @@ -3,7 +3,7 @@ "version": "5.0.0", "author": "StackForge Contributors", "summary": "Puppet module for OpenStack Neutron", - "license": "Apache License 2.0", + "license": "Apache-2.0", "source": "git://github.com/stackforge/puppet-neutron.git", "project_page": "https://launchpad.net/puppet-neutron", "issues_url": "https://bugs.launchpad.net/puppet-neutron", @@ -37,6 +37,6 @@ { "name": "puppetlabs/stdlib", "version_requirement": ">=4.0.0 <5.0.0" }, { "name": "stackforge/vswitch", "version_requirement": ">=1.0.0 <2.0.0" }, { "name": "duritong/sysctl", "version_requirement": ">=0.0.1 <1.0.0" }, - { "name": "stackforge/openstacklib", "version_requirement": ">=5.0.0" } + { "name": "stackforge/openstacklib", "version_requirement": ">=5.0.0 <6.0.0" } ] }