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: I8f5cc0ec52d7f83ab8dd0d6161e99c468365d996
This commit is contained in:
parent
ae414b3f7d
commit
473f1c7a48
|
@ -15,26 +15,26 @@
|
|||
# == Class: puppet
|
||||
#
|
||||
class puppet (
|
||||
$pin_puppet = '3.',
|
||||
$enable_puppet = false,
|
||||
$http_proxy = undef,
|
||||
$agent_http_proxy_host = undef,
|
||||
$agent_http_proxy_port = undef,
|
||||
$https_proxy = undef,
|
||||
$certname = $::fqdn,
|
||||
$puppetmaster_server = 'puppetmaster.openstack.org',
|
||||
$puppet_ca_server = undef,
|
||||
$dns_alt_names = undef,
|
||||
$environment_path = '/etc/puppet/environments',
|
||||
$agent_runinterval = 600,
|
||||
$basemodule_path = '/etc/puppet/modules',
|
||||
$certname = $::fqdn,
|
||||
$dns_alt_names = undef,
|
||||
$enable_puppet = false,
|
||||
$environment_path = '/etc/puppet/environments',
|
||||
$environment_timeout = 0,
|
||||
$http_proxy = undef,
|
||||
$https_proxy = undef,
|
||||
$is_master = false,
|
||||
$is_masterless = false,
|
||||
$pin_puppet = '3.',
|
||||
$puppet_ca_server = undef,
|
||||
$puppet_release = $::lsbdistcodename,
|
||||
$puppetmaster_server = 'puppetmaster.openstack.org',
|
||||
$store_configs = true,
|
||||
$store_backend = 'puppetdb',
|
||||
$reports = 'store,puppetdb',
|
||||
$agent_runinterval = 600,
|
||||
$puppet_release = $::lsbdistcodename,
|
||||
$is_master = false,
|
||||
$is_masterless = false,
|
||||
) {
|
||||
|
||||
# pin facter and puppetdb according to puppet version
|
||||
|
|
Loading…
Reference in New Issue