From 8c4ec63f85294dd4e83e5701bf15bd9c97905b02 Mon Sep 17 00:00:00 2001 From: intrigeri Date: Sun, 11 Nov 2012 21:53:10 +0100 Subject: Align all fat arrows in resource’s attribute/value list. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Puppet style guide "9.2. Arrow Alignment" reads: "All of the fat comma arrows (=>) in a resource’s attribute/value list should be aligned. The arrows should be placed one space ahead of the longest attribute name." --- manifests/init.pp | 8 ++++---- manifests/munin.pp | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index b8e1917..82820f5 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -8,11 +8,11 @@ class tor ( } service { 'tor': - ensure => running, - enable => true, + ensure => running, + enable => true, hasrestart => true, - hasstatus => true, - require => Package['tor'], + hasstatus => true, + require => Package['tor'], } if $use_munin { diff --git a/manifests/munin.pp b/manifests/munin.pp index 24ea53e..ecb13d9 100644 --- a/manifests/munin.pp +++ b/manifests/munin.pp @@ -16,8 +16,8 @@ class tor::munin { munin::plugin { [ 'tor_connections', 'tor_routers', 'tor_traffic' ]: - ensure => present, - config => "user debian-tor\n env.cookiefile /var/run/tor/control.authcookie", + ensure => present, + config => "user debian-tor\n env.cookiefile /var/run/tor/control.authcookie", script_path_in => '/usr/local/share/munin-plugins'; } } -- cgit v1.2.3