From: intrigeri Date: Sun, 11 Nov 2012 20:53:10 +0000 (+0100) Subject: Align all fat arrows in resource’s attribute/value list. X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=8c4ec63f85294dd4e83e5701bf15bd9c97905b02;p=puppet-tor.git Align all fat arrows in resource’s attribute/value list. 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." --- 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'; } }