From 3ed5a7ae0040ca3c9439c64b82ec2848abaeae07 Mon Sep 17 00:00:00 2001 From: Andrey Nikitin Date: Mon, 21 Mar 2016 18:40:05 +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: Ib80146d49607479a4bb2bd47c33e1a26cfb261f4 --- manifests/init.pp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index 40cdd44..f7e1bbf 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -17,15 +17,15 @@ # class stackalytics ( $stackalytics_ssh_private_key, - $cron_hour = '*/1', - $cron_minute = '0', - $gerrit_ssh_user = 'stackalytics', - $git_revision = 'master', - $git_source = 'https://git.openstack.org/openstack/stackalytics', - $memcached_listen_ip = '127.0.0.1', + $cron_hour = '*/1', + $cron_minute = '0', + $gerrit_ssh_user = 'stackalytics', + $git_revision = 'master', + $git_source = 'https://git.openstack.org/openstack/stackalytics', + $memcached_listen_ip = '127.0.0.1', $memcached_max_memory = '4096', - $memcached_port = '11211', - $vhost_name = $::fqdn, + $memcached_port = '11211', + $vhost_name = $::fqdn, ) { include ::httpd include ::httpd::mod::wsgi