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: Id33056d659454b3dbc1921e37978993ca46c5217
This commit is contained in:
Sebastien Badia 2014-09-27 11:39:08 +02:00
parent 1591f769ba
commit ac6c4dfb59
2 changed files with 43 additions and 18 deletions

View File

@ -1,18 +0,0 @@
name 'puppetlabs-swift'
version '4.0.0'
author 'Puppet Labs and StackForge Contributors'
license 'Apache License 2.0'
summary 'Puppet module for OpenStack Swift'
description 'Installs and configures OpenStack Swift (Object Storage).'
project_page 'https://launchpad.net/puppet-swift'
source 'https://github.com/stackforge/puppet-swift'
dependency 'puppetlabs/inifile', '>=1.0.0 <2.0.0'
dependency 'puppetlabs/keystone', '>=4.0.0 <5.0.0'
dependency 'puppetlabs/mysql','>=0.6.1 <3.0.0'
dependency 'puppetlabs/rsync', '>=0.2.0 <1.0.0'
dependency 'puppetlabs/stdlib', '>=4.0.0 <5.0.0'
dependency 'puppetlabs/xinetd', '>=1.0.1 <2.0.0'
dependency 'puppetlabs/concat', '>=1.0.0 <2.0.0'
dependency 'saz/memcached', '>=2.0.2 <3.0.0'
dependency 'saz/ssh', '>=1.0.2 <2.0.0'

43
metadata.json Normal file
View File

@ -0,0 +1,43 @@
{
"name": "stackforge-swift",
"version": "5.0.0",
"author": "Puppet Labs and StackForge Contributors",
"summary": "Puppet module for OpenStack Swift",
"license": "Apache License 2.0",
"source": "git://github.com/stackforge/puppet-swift.git",
"project_page": "https://launchpad.net/puppet-swift",
"issues_url": "https://bugs.launchpad.net/puppet-swift",
"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 Swift (Object Storage).",
"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/rsync", "version_requirement": ">=0.2.0 <1.0.0" },
{ "name": "puppetlabs/stdlib", "version_requirement": ">=4.0.0 <5.0.0" },
{ "name": "puppetlabs/xinetd", "version_requirement": ">=1.0.1 <2.0.0" },
{ "name": "puppetlabs/concat", "version_requirement": ">=1.0.0 <2.0.0" },
{ "name": "saz/memcached", "version_requirement": ">=2.0.2 <3.0.0" },
{ "name": "saz/ssh", "version_requirement": ">=1.0.2 <2.0.0" }
]
}