aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2012-11-11 21:53:10 +0100
committerintrigeri <intrigeri@boum.org>2012-11-11 21:53:10 +0100
commit8c4ec63f85294dd4e83e5701bf15bd9c97905b02 (patch)
tree412072271cad0b19e99d4e9269e27f16f845d3c8
parent6255a818641c07b20d7e718eeff5e5f92953bd09 (diff)
downloadpuppet-tor-8c4ec63f85294dd4e83e5701bf15bd9c97905b02.tar.gz
puppet-tor-8c4ec63f85294dd4e83e5701bf15bd9c97905b02.tar.bz2
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."
-rw-r--r--manifests/init.pp8
-rw-r--r--manifests/munin.pp4
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';
}
}