Add standard puppet module files and .gitreview

This module has been split out from system-config, and additional
    files are added to create a proper puppet module.

    In addition, puppet-lint issues were fixed for manifests/*

    The spec:
    http://specs.openstack.org/openstack-infra/infra-specs/specs/puppet-modules.html

Change-Id: I0d473b48a978727b294e1329b0176641afe2f02d
This commit is contained in:
Mikhail S Medvedev 2015-01-29 07:21:06 -06:00
parent 811e5a717c
commit bf460ce2d1
5 changed files with 33 additions and 3 deletions

4
.gitreview Normal file
View File

@ -0,0 +1,4 @@
[gerrit]
host=review.openstack.org
port=29418
project=openstack-infra/puppet-subunit2sql.git

6
README.md Normal file
View File

@ -0,0 +1,6 @@
# OpenStack Subunit2sql Module
## Overview
Installs and configures subunit2sql - a tool to convert subunit results into
a SQL database.

8
Rakefile Normal file
View File

@ -0,0 +1,8 @@
require 'rubygems'
require 'puppetlabs_spec_helper/rake_tasks'
require 'puppet-lint/tasks/puppet-lint'
PuppetLint.configuration.fail_on_warnings = true
PuppetLint.configuration.send('disable_80chars')
PuppetLint.configuration.send('disable_autoloader_layout')
PuppetLint.configuration.send('disable_class_inherits_from_params_class')
PuppetLint.configuration.send('disable_class_parameter_defaults')

View File

@ -17,12 +17,12 @@
#
define subunit2sql::worker (
$config_file,
$db_dialect = 'mysql',
$db_user = 'subunit2sql',
$db_pass,
$db_host,
$db_dialect = 'mysql',
$db_user = 'subunit2sql',
$db_port = '3306',
$db_name = 'subunit2sql'
$db_name = 'subunit2sql',
) {
$suffix = "-${name}"

12
metadata.json Normal file
View File

@ -0,0 +1,12 @@
{
"name": "openstackci-subunit2sql",
"version": "0.0.1",
"author": "OpenStack CI",
"summary": "Puppet module for Subunit2sql",
"license": "Apache 2.0",
"source": "git://git.openstack.org/openstack-infra/puppet-subunit2sql.git",
"project_page": "http://ci.openstack.org/",
"issues_url": "https://storyboard.openstack.org/#!/project/798",
"dependencies": [
]
}