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: I1398a01323a92e0737b99d6833bfdeec231878ce
This commit is contained in:
parent
cf104cbd4f
commit
27cbd575e6
4
.gitreview
Normal file
4
.gitreview
Normal file
@ -0,0 +1,4 @@
|
||||
[gerrit]
|
||||
host=review.openstack.org
|
||||
port=29418
|
||||
project=openstack-infra/puppet-openafs.git
|
5
README.md
Normal file
5
README.md
Normal file
@ -0,0 +1,5 @@
|
||||
# OpenStack Openafs Module
|
||||
|
||||
## Overview
|
||||
|
||||
Configuration for OpenAFS distributed filesystem client and server.
|
8
Rakefile
Normal file
8
Rakefile
Normal 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')
|
@ -1,3 +1,5 @@
|
||||
# Class: openafs::client
|
||||
|
||||
class openafs::client (
|
||||
$realm,
|
||||
$cell,
|
||||
@ -46,7 +48,7 @@ class openafs::client (
|
||||
ensure => present,
|
||||
replace => true,
|
||||
content => template('openafs/cacheinfo.erb'),
|
||||
require => Package['openafs-client'],
|
||||
require => Package['openafs-client'],
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -1,7 +1,9 @@
|
||||
# Class openafs::dbserver
|
||||
|
||||
class openafs::dbserver {
|
||||
|
||||
$packages = [
|
||||
"openafs-dbserver",
|
||||
'openafs-dbserver',
|
||||
]
|
||||
package { $packages:
|
||||
ensure => present,
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Class openafs::fileserver
|
||||
|
||||
class openafs::fileserver (
|
||||
$cell,
|
||||
$dbservers,
|
||||
|
12
metadata.json
Normal file
12
metadata.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"name": "openstackci-openafs",
|
||||
"version": "0.0.1",
|
||||
"author": "OpenStack CI",
|
||||
"summary": "Puppet module for Openafs",
|
||||
"license": "Apache 2.0",
|
||||
"source": "git://git.openstack.org/openstack-infra/puppet-openafs.git",
|
||||
"project_page": "http://ci.openstack.org/",
|
||||
"issues_url": "https://storyboard.openstack.org/#!/project/797",
|
||||
"dependencies": [
|
||||
]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user