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.
 - bump vswitch module deps to 1.0.0 (future semver release)

Change-Id: I2e87acbe5dd6b6fb1681678bbf152bafa15ecac0
This commit is contained in:
Sebastien Badia 2014-09-27 11:36:16 +02:00
parent d65ffe07d3
commit baf9d0090d
2 changed files with 42 additions and 16 deletions

View File

@ -1,16 +0,0 @@
name 'puppetlabs-neutron'
version '4.0.0'
author 'StackForge Contributors'
license 'Apache License 2.0'
summary 'Puppet module for OpenStack Neutron'
description 'Installs and configures OpenStack Neutron (Networking).'
project_page 'https://launchpad.net/puppet-neutron'
source 'https://github.com/stackforge/puppet-neutron'
dependency 'puppetlabs/inifile', '>=1.0.0 <2.0.0'
dependency 'puppetlabs/keystone', '>=4.0.0 <5.0.0'
dependency 'puppetlabs/nova', '>=4.0.0 <5.0.0'
dependency 'puppetlabs/stdlib', '>=4.0.0 <5.0.0'
dependency 'puppetlabs/vswitch', '>=0.2.0 <1.0.0'
dependency 'duritong/sysctl', '>=0.0.1 <1.0.0'
dependency 'stackforge/openstacklib', '>=5.0.0'

42
metadata.json Normal file
View File

@ -0,0 +1,42 @@
{
"name": "stackforge-neutron",
"version": "5.0.0",
"author": "StackForge Contributors",
"summary": "Puppet module for OpenStack Neutron",
"license": "Apache License 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",
"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 Neutron (Networking).",
"dependencies": [
{ "name": "puppetlabs/inifile", "version_requirement": ">=1.0.0 <2.0.0" },
{ "name": "stackforge/keystone", "version_requirement": ">=5.0.0 <6.0.0" },
{ "name": "stackforge/nova", "version_requirement": ">=5.0.0 <6.0.0" },
{ "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" }
]
}