From d281445598437fbf7bc35cc4cb75100abc8aefbb Mon Sep 17 00:00:00 2001 From: Bram Vogelaar Date: Sun, 1 May 2016 01:57:13 +0200 Subject: [PATCH] Adding extra gem to also validate the metadata.json file. Rake validate currently errors with a Warning: License Indentifier Apache 2.0 is not in the SPDX list. message, adding a dash fixes this. --- Gemfile | 1 + metadata.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 5a33cdef0..d469af991 100644 --- a/Gemfile +++ b/Gemfile @@ -3,6 +3,7 @@ source "https://rubygems.org" group :test do gem "rake" gem "puppet", ENV['PUPPET_VERSION'] || '~> 3.6.0' + gem 'metadata-json-lint' gem "puppet-lint" gem "rspec-puppet", :git => 'https://github.com/rodjek/rspec-puppet.git' gem "puppet-syntax" diff --git a/metadata.json b/metadata.json index 81ee83cde..2473131b2 100644 --- a/metadata.json +++ b/metadata.json @@ -3,7 +3,7 @@ "version": "2.5.0", "author": "bfraser", "summary": "This module provides Grafana, a dashboard and graph editor for Graphite and InfluxDB.", - "license": "Apache 2.0", + "license": "Apache-2.0", "source": "https://github.com/bfraser/puppet-grafana.git", "project_page": "https://github.com/bfraser/puppet-grafana", "issues_url": "https://github.com/bfraser/puppet-grafana/issues",