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."
}
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 {
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';
}
}