From 473f1c7a480960d2046257dead2ee72b200c0164 Mon Sep 17 00:00:00 2001 From: Andrey Nikitin Date: Mon, 21 Mar 2016 18:13:44 +0300 Subject: [PATCH] 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 --- manifests/init.pp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index 85476ad..cd89b2e 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -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