]> gitweb.fluxo.info Git - puppet-tor.git/commitdiff
Align all fat arrows in resource’s attribute/value list.
authorintrigeri <intrigeri@boum.org>
Sun, 11 Nov 2012 20:53:10 +0000 (21:53 +0100)
committerintrigeri <intrigeri@boum.org>
Sun, 11 Nov 2012 20:53:10 +0000 (21:53 +0100)
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
manifests/munin.pp

index b8e1917e2d8ccaaba80728dbcf0b75903093cd92..82820f5f770af6d9378c246e89f2161cf49655d6 100644 (file)
@@ -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 {
index 24ea53ee9091574fcafcab4b361aece19fb23ba3..ecb13d9889f47dbc29ea2f909a9af901b43d3858 100644 (file)
@@ -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';
   }
 }