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.
 - switch to stackforge namespace.
 - relax pe version_requirement to 3.x.
 - added a common gitignore (ignore pkg)

Change-Id: Idc82bed42bc2955bd5f46dd2bd80fff13542d97b
This commit is contained in:
Sebastien Badia 2014-10-22 14:56:05 +02:00
parent d4178accc3
commit 6ac71df4aa
3 changed files with 32 additions and 11 deletions

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
*.swp
spec/fixtures/modules/*
pkg
Gemfile.lock

View File

@ -1,11 +0,0 @@
name 'puppet-n1kv-vsm'
version '0.0.2'
author 'ChingWei Chang, Marga Millet'
license 'Apache License 2.0'
project_page 'https://launchpad.net/puppet-n1k-vsm'
source 'https://github.com/stackforge/puppet-n1k-vsm'
summary 'Puppet module for Cisco Nexus1000v VSM'
description 'Puppet module to install and configure the Nexus1000v Virtual Supervisor module"
dependency 'puppetlabs/vswitch', '>=0.0.9'

28
metadata.json Normal file
View File

@ -0,0 +1,28 @@
{
"name": "stackforge-n1kv_vsm",
"version": "0.0.2",
"author": "ChingWei Chang, Marga Millet and StackForge Contributors",
"summary": "Puppet module for Cisco Nexus1000v VSM",
"license": "Apache License 2.0",
"source": "git://github.com/stackforge/puppet-n1k-vsm.git",
"project_page": "https://launchpad.net/puppet-n1k-vsm",
"issues_url": "https://bugs.launchpad.net/puppet-n1k-vsm",
"requirements": [
{"name": "pe","version_requirement": "3.x"},
{"name": "puppet","version_requirement": "3.x"}
],
"operatingsystem_support": [
{
"operatingsystem": "RedHat",
"operatingsystemrelease": ["7"]
},
{
"operatingsystem": "Ubuntu",
"operatingsystemrelease": ["12.04","14.04"]
}
],
"description": "Installs and configures the Nexus1000v Virtual Supervisor module.",
"dependencies": [
{ "name": "stackforge/vswitch", "version_requirement": ">=1.0.0 <2.0.0" }
]
}