From 036ea2c1630b377ecf331beb518d94262d2cfee6 Mon Sep 17 00:00:00 2001 From: Andrey Nikitin Date: Mon, 21 Mar 2016 18:16: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: I1026ad3b5072128a92ada761123bd21a4cdd4058 --- manifests/init.pp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index df6e22f..3b8ab53 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -17,12 +17,12 @@ # http://packages.ubuntu.com/quantal/amd64/redis-server/filelist class redis( - $redis_port = '6379', - $redis_bind = '127.0.0.1', - $redis_password = undef, - $redis_max_memory = '1gb', + $redis_bind = '127.0.0.1', + $redis_max_memory = '1gb', $redis_max_memory_policy = 'allkeys-lru', - $version = '2.2.12', + $redis_password = undef, + $redis_port = '6379', + $version = '2.2.12', ) { package {'redis-server':