From 599b6133bb6620214d3e3e82268da54a66623cca Mon Sep 17 00:00:00 2001 From: Sebastien Badia Date: Sat, 27 Sep 2014 11:31:52 +0200 Subject: [PATCH] Switch to metadata.json for Puppet forge releases Since puppet 3.x, Puppet Labs Forge accept only the metadata.json file for module description (Modulefile is now deprecated). This patch : - convert the Modulefile to metadata.json. - bump major version to 5 (for juno), and deps. - switch to stackforge namespace. - relax pe version_requirement to 3.x. Change-Id: Ie64090dd0adc112a40c5f1b47442578216afd5e4 --- Modulefile | 13 ------------- metadata.json | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 13 deletions(-) delete mode 100644 Modulefile create mode 100644 metadata.json diff --git a/Modulefile b/Modulefile deleted file mode 100644 index f3f6087c3..000000000 --- a/Modulefile +++ /dev/null @@ -1,13 +0,0 @@ -name 'puppetlabs-heat' -version '4.0.0' -author 'eNovance and StackForge Contributors' -license 'Apache License 2.0' -summary 'Puppet module for OpenStack Heat' -description 'Installs and configures OpenStack Heat (Orchestration).' -project_page 'https://launchpad.net/puppet-heat' -source 'https://github.com/stackforge/puppet-heat' - -dependency 'puppetlabs/inifile', '>= 1.0.0 <2.0.0' -dependency 'puppetlabs/keystone', '>=4.0.0 <5.0.0' -dependency 'puppetlabs/stdlib', '>= 4.0.0 < 5.0.0' -dependency 'stackforge/openstacklib', '>=5.0.0' diff --git a/metadata.json b/metadata.json new file mode 100644 index 000000000..199c7626b --- /dev/null +++ b/metadata.json @@ -0,0 +1,39 @@ +{ + "name": "stackforge-heat", + "version": "5.0.0", + "author": "eNovance and StackForge Contributors", + "summary": "Puppet module for OpenStack Heat", + "license": "Apache License 2.0", + "source": "git://github.com/stackforge/puppet-heat.git", + "project_page": "https://launchpad.net/puppet-heat", + "issues_url": "https://bugs.launchpad.net/puppet-heat", + "requirements": [ + { "name": "pe","version_requirement": "3.x" }, + { "name": "puppet","version_requirement": "3.x" } + ], + "operatingsystem_support": [ + { + "operatingsystem": "Debian", + "operatingsystemrelease": ["7"] + }, + { + "operatingsystem": "Fedora", + "operatingsystemrelease": ["20"] + }, + { + "operatingsystem": "RedHat", + "operatingsystemrelease": ["6.5","7"] + }, + { + "operatingsystem": "Ubuntu", + "operatingsystemrelease": ["12.04","14.04"] + } + ], + "description": "Installs and configures OpenStack Heat (Orchestration).", + "dependencies": [ + { "name": "puppetlabs/inifile", "version_requirement": ">=1.0.0 <2.0.0" }, + { "name": "stackforge/keystone", "version_requirement": ">=5.0.0 <6.0.0" }, + { "name": "puppetlabs/stdlib", "version_requirement": ">=4.0.0 <5.0.0" }, + { "name": "stackforge/openstacklib", "version_requirement": ">=5.0.0" } + ] +}