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: I6aae75b5c2128f80e880bb4934811931db32eb59
This commit is contained in:
Sebastien Badia 2014-09-27 11:26:22 +02:00
parent c93baffe7b
commit 987c51bc09
2 changed files with 41 additions and 15 deletions

View File

@ -1,15 +0,0 @@
name 'puppetlabs-cinder'
version '4.0.0'
author 'Puppet Labs and StackForge Contributors'
license 'Apache License 2.0'
summary 'Puppet module for OpenStack Cinder'
description 'Installs and configures OpenStack Cinder (Block Storage).'
project_page 'https://launchpad.net/puppet-cinder'
source 'https://github.com/stackforge/puppet-cinder'
dependency 'dprince/qpid', '>=1.0.0 <2.0.0'
dependency 'puppetlabs/inifile', '>=1.0.0 <2.0.0'
dependency 'puppetlabs/keystone', '>=4.0.0 <5.0.0'
dependency 'puppetlabs/rabbitmq', '>=2.0.2 <4.0.0'
dependency 'puppetlabs/stdlib', '>=4.0.0'
dependency 'stackforge/openstacklib', '>=5.0.0'

41
metadata.json Normal file
View File

@ -0,0 +1,41 @@
{
"name": "stackforge-cinder",
"version": "5.0.0",
"author": "Puppet Labs and StackForge Contributors",
"summary": "Puppet module for OpenStack Cinder",
"license": "Apache License 2.0",
"source": "git://github.com/stackforge/puppet-cinder.git",
"project_page": "https://launchpad.net/puppet-cinder",
"issues_url": "https://bugs.launchpad.net/puppet-cinder",
"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 Cinder (Block Storage).",
"dependencies": [
{ "name": "dprince/qpid", "version_requirement": ">=1.0.0 <2.0.0" },
{ "name": "puppetlabs/inifile", "version_requirement": ">=1.0.0 <2.0.0" },
{ "name": "stackforge/keystone", "version_requirement": ">=5.0.0 <6.0.0" },
{ "name": "puppetlabs/rabbitmq", "version_requirement": ">=2.0.2 <4.0.0" },
{ "name": "puppetlabs/stdlib", "version_requirement": ">=4.0.0 <5.0.0" },
{ "name": "stackforge/openstacklib", "version_requirement": ">=5.0.0" }
]
}