Order of the class 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: I80c9ab9dc4b305d6ad800cc58cc94e9648b940b0
This commit is contained in:
parent
1cbe0c8fa6
commit
4bf656f4a8
|
@ -1,10 +1,9 @@
|
|||
# == Class: graphite
|
||||
#
|
||||
class graphite(
|
||||
$graphite_admin_user,
|
||||
$graphite_admin_email,
|
||||
$graphite_admin_password,
|
||||
$vhost_name = $::fqdn,
|
||||
$graphite_admin_user,
|
||||
$storage_schemas = [
|
||||
{
|
||||
'name' => 'carbon',
|
||||
|
@ -22,6 +21,7 @@ class graphite(
|
|||
'retentions' => '60:90d',
|
||||
}
|
||||
],
|
||||
$vhost_name = $::fqdn,
|
||||
) {
|
||||
$packages = [ 'python-django',
|
||||
'python-django-tagging',
|
||||
|
|
Loading…
Reference in New Issue