diff options
author | intrigeri <intrigeri@boum.org> | 2012-01-26 18:25:34 +0100 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2012-01-26 18:26:08 +0100 |
commit | 09ae06fbea4e53f6b89d13f1f16ed8c6dab83e9d (patch) | |
tree | e8a72275bedfbf54a126fb5ce86ca512e33f5569 | |
parent | 4daf3013fc6a437f6472c3526472e1d29302eecd (diff) | |
download | puppet-tor-09ae06fbea4e53f6b89d13f1f16ed8c6dab83e9d.tar.gz puppet-tor-09ae06fbea4e53f6b89d13f1f16ed8c6dab83e9d.tar.bz2 |
Replace puppet://$server/... with puppet:///...
Rationale: https://labs.riseup.net/code/issues/2460
-rw-r--r-- | manifests/daemon.pp | 2 | ||||
-rw-r--r-- | manifests/polipo.pp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/manifests/daemon.pp b/manifests/daemon.pp index 33785f8..c779cd0 100644 --- a/manifests/daemon.pp +++ b/manifests/daemon.pp @@ -152,7 +152,7 @@ class tor::daemon inherits tor { ensure => $ensure, } file { '/etc/tor/tor.html': - source => "puppet://$server/modules/tor/tor.html", + source => "puppet:///modules/tor/tor.html", require => File['/etc/tor'], ensure => $ensure, owner => 'debian-tor', group => 'debian-tor', mode => 0644, diff --git a/manifests/polipo.pp b/manifests/polipo.pp index 79a6cdd..73eaea2 100644 --- a/manifests/polipo.pp +++ b/manifests/polipo.pp @@ -25,7 +25,7 @@ class tor::polipo inherits tor { owner => root, group => root, mode => 0644, - source => "puppet://$server/modules/tor/polipo.conf", + source => "puppet:///modules/tor/polipo.conf", notify => Service["polipo"], require => File["/etc/polipo"], } @@ -37,7 +37,7 @@ class tor::polipo inherits tor { owner => root, group => root, mode => 0755, - source => "puppet://$server/modules/tor/polipo.cron", + source => "puppet:///modules/tor/polipo.cron", } } |