From 1ee285d39980512b506084368f4f2208aa4d7c1f Mon Sep 17 00:00:00 2001 From: intrigeri Date: Sun, 11 Nov 2012 21:43:03 +0100 Subject: Use single-quotes for strings that do not contain variables. Puppet style guide, section "8. Quoting", reads: "All strings that do not contain variables should be enclosed in single quotes." --- manifests/munin.pp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'manifests/munin.pp') diff --git a/manifests/munin.pp b/manifests/munin.pp index 8504f89..24ea53e 100644 --- a/manifests/munin.pp +++ b/manifests/munin.pp @@ -1,23 +1,23 @@ class tor::munin { file { - "/usr/local/share/munin-plugins/tor_connections": - source => "puppet:///modules/tor/munin/tor_connections", + '/usr/local/share/munin-plugins/tor_connections': + source => 'puppet:///modules/tor/munin/tor_connections', mode => 0755, owner => root, group => root; - "/usr/local/share/munin-plugins/tor_routers": - source => "puppet:///modules/tor/munin/tor_routers", + '/usr/local/share/munin-plugins/tor_routers': + source => 'puppet:///modules/tor/munin/tor_routers', mode => 0755, owner => root, group => root; - "/usr/local/share/munin-plugins/tor_traffic": - source => "puppet:///modules/tor/munin/tor_traffic", + '/usr/local/share/munin-plugins/tor_traffic': + source => 'puppet:///modules/tor/munin/tor_traffic', mode => 0755, owner => root, group => root; } munin::plugin { - [ "tor_connections", "tor_routers", "tor_traffic" ]: + [ 'tor_connections', 'tor_routers', 'tor_traffic' ]: ensure => present, config => "user debian-tor\n env.cookiefile /var/run/tor/control.authcookie", - script_path_in => "/usr/local/share/munin-plugins"; + script_path_in => '/usr/local/share/munin-plugins'; } } -- cgit v1.2.3