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: I8063448c4b30dc97acbf1cce047bc5dfb6b69664
This commit is contained in:
parent
ad9af0541d
commit
d1e34ab9c7
@ -1,10 +1,10 @@
|
|||||||
# == Class: puppet-lodgeit::mysql
|
# == Class: puppet-lodgeit::mysql
|
||||||
#
|
#
|
||||||
class lodgeit::mysql(
|
class lodgeit::mysql(
|
||||||
|
$database_password,
|
||||||
$mysql_root_password,
|
$mysql_root_password,
|
||||||
$database_name = $name,
|
$database_name = $name,
|
||||||
$database_user = $name,
|
$database_user = $name,
|
||||||
$database_password,
|
|
||||||
) {
|
) {
|
||||||
class { '::mysql::server':
|
class { '::mysql::server':
|
||||||
root_password => $mysql_root_password,
|
root_password => $mysql_root_password,
|
||||||
|
@ -2,14 +2,14 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
define lodgeit::site(
|
define lodgeit::site(
|
||||||
$port,
|
|
||||||
$db_password,
|
$db_password,
|
||||||
$db_host='localhost',
|
$port,
|
||||||
$db_name=$name,
|
$db_host = 'localhost',
|
||||||
$db_user=$name,
|
$db_name = $name,
|
||||||
$vhost_name="paste.${name}.org",
|
$db_user = $name,
|
||||||
$image=undef,
|
$image = undef,
|
||||||
$robotstxt=true,
|
$robotstxt = true,
|
||||||
|
$vhost_name = "paste.${name}.org",
|
||||||
) {
|
) {
|
||||||
|
|
||||||
include ::httpd
|
include ::httpd
|
||||||
|
Loading…
x
Reference in New Issue
Block a user