Update Rakefile and module info
Update Rakefile and module info per [1] to bring this module in-line with others. [1] http://specs.openstack.org/openstack-infra/infra-specs/specs/puppet-modules.html Change-Id: Idab73d94fa18f4a621d827e97a2019bd4b3ac2e1
This commit is contained in:
parent
9995286b78
commit
c7cdb727d0
11
Modulefile
11
Modulefile
@ -1,11 +0,0 @@
|
|||||||
name 'puppetlabs-apache'
|
|
||||||
version '0.0.4'
|
|
||||||
source 'git://github.com/puppetlabs/puppetlabs-apache.git'
|
|
||||||
author 'puppetlabs'
|
|
||||||
license 'Apache 2.0'
|
|
||||||
summary 'Puppet module for Apache'
|
|
||||||
description 'Module for Apache configuration'
|
|
||||||
project_page 'https://github.com/puppetlabs/puppetlabs-apache'
|
|
||||||
|
|
||||||
## Add dependencies, if any:
|
|
||||||
dependency 'puppetlabs-firewall', '>= 0.0.4'
|
|
17
Rakefile
17
Rakefile
@ -1,21 +1,8 @@
|
|||||||
require 'rake'
|
require 'rubygems'
|
||||||
|
require 'puppetlabs_spec_helper/rake_tasks'
|
||||||
require 'puppet-lint/tasks/puppet-lint'
|
require 'puppet-lint/tasks/puppet-lint'
|
||||||
PuppetLint.configuration.fail_on_warnings = true
|
PuppetLint.configuration.fail_on_warnings = true
|
||||||
PuppetLint.configuration.send('disable_80chars')
|
PuppetLint.configuration.send('disable_80chars')
|
||||||
PuppetLint.configuration.send('disable_autoloader_layout')
|
PuppetLint.configuration.send('disable_autoloader_layout')
|
||||||
PuppetLint.configuration.send('disable_class_inherits_from_params_class')
|
PuppetLint.configuration.send('disable_class_inherits_from_params_class')
|
||||||
PuppetLint.configuration.send('disable_class_parameter_defaults')
|
PuppetLint.configuration.send('disable_class_parameter_defaults')
|
||||||
|
|
||||||
task :default => [:spec]
|
|
||||||
|
|
||||||
desc "Run all module spec tests (Requires rspec-puppet gem)"
|
|
||||||
task :spec do
|
|
||||||
system("rspec spec")
|
|
||||||
end
|
|
||||||
|
|
||||||
desc "Build package"
|
|
||||||
task :build do
|
|
||||||
system("puppet-module build")
|
|
||||||
end
|
|
||||||
|
|
||||||
|
11
metadata.json
Normal file
11
metadata.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"name": "openstackci-httpd",
|
||||||
|
"version": "0.0.1",
|
||||||
|
"author": "Openstack CI",
|
||||||
|
"summary": "Puppet module for httpd",
|
||||||
|
"license": "Apache 2.0",
|
||||||
|
"source": "git://git.openstack.org/openstack-infra/puppet-httpd.git",
|
||||||
|
"project_page": "http://ci.openstack.org/",
|
||||||
|
"issues_url": "https://storyboard.openstack.org/#!/project/754",
|
||||||
|
"dependencies": []
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user