Order of the classes parameters is refactored
Order and intendation of those parameters are changed to follow Puppet Style Guide recommendation [0]. Moreover, it will allow to an user to find much faster a variable in a list of variables. [0]. https://docs.puppetlabs.com/guides/style_guide.html Change-Id: I54071ce317178febf2e28e11858a247ba2f070fe
This commit is contained in:
parent
4b1abb0a05
commit
f2f2ee5c07
@ -15,9 +15,9 @@
|
||||
# Class: releasestatus
|
||||
#
|
||||
class releasestatus (
|
||||
$releasestatus_gerrit_ssh_key = undef,
|
||||
$releasestatus_prvkey_contents = undef,
|
||||
$releasestatus_pubkey_contents = undef,
|
||||
$releasestatus_gerrit_ssh_key = undef,
|
||||
) {
|
||||
if ! defined(Package['python-launchpadlib']) {
|
||||
package { 'python-launchpadlib':
|
||||
|
@ -16,7 +16,7 @@
|
||||
#
|
||||
define releasestatus::site(
|
||||
$configfile = 'integrated.yaml',
|
||||
$httproot = '/srv/static/release',
|
||||
$httproot = '/srv/static/release',
|
||||
) {
|
||||
|
||||
file { "/var/lib/releasestatus/${configfile}":
|
||||
|
Loading…
x
Reference in New Issue
Block a user