aboutsummaryrefslogtreecommitdiff
path: root/manifests/daemon.pp
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2012-11-11 21:43:03 +0100
committerintrigeri <intrigeri@boum.org>2012-11-11 21:43:03 +0100
commit1ee285d39980512b506084368f4f2208aa4d7c1f (patch)
tree46cf0f98e6117883663bf972a1e5f0346c819485 /manifests/daemon.pp
parent955c46180a855eb841886d85fd3691cfe471d8cf (diff)
downloadpuppet-tor-1ee285d39980512b506084368f4f2208aa4d7c1f.tar.gz
puppet-tor-1ee285d39980512b506084368f4f2208aa4d7c1f.tar.bz2
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."
Diffstat (limited to 'manifests/daemon.pp')
-rw-r--r--manifests/daemon.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/daemon.pp b/manifests/daemon.pp
index 28d257d..683d2c6 100644
--- a/manifests/daemon.pp
+++ b/manifests/daemon.pp
@@ -136,11 +136,11 @@ class tor::daemon (
$ensure = present ) {
if $cookie_authentication == '0' and $hashed_control_password == '' and $ensure != 'absent' {
- fail("You need to define the tor control password")
+ fail('You need to define the tor control password')
}
if $cookie_authentication == 0 and ($cookie_auth_file != '' or $cookie_auth_file_group_readable != '') {
- notice("You set a tor cookie authentication option, but do not have cookie_authentication on")
+ notice('You set a tor cookie authentication option, but do not have cookie_authentication on')
}
concatenated_file_part { '04.control':
@@ -178,7 +178,7 @@ class tor::daemon (
}
file { '/etc/tor/tor.html':
- source => "puppet:///modules/tor/tor.html",
+ source => 'puppet:///modules/tor/tor.html',
require => File['/etc/tor'],
ensure => $ensure,
owner => 'debian-tor', group => 'debian-tor', mode => 0644,