aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/polipo.pp2
-rw-r--r--manifests/polipo/base.pp4
-rw-r--r--manifests/torsocks.pp2
3 files changed, 4 insertions, 4 deletions
diff --git a/manifests/polipo.pp b/manifests/polipo.pp
index a7ef005..8563347 100644
--- a/manifests/polipo.pp
+++ b/manifests/polipo.pp
@@ -1,7 +1,7 @@
class tor::polipo {
include ::tor
- case $operatingsystem {
+ case $::operatingsystem {
'debian': { include tor::polipo::debian }
default: { include tor::polipo::base }
}
diff --git a/manifests/polipo/base.pp b/manifests/polipo/base.pp
index f485747..fca4b21 100644
--- a/manifests/polipo/base.pp
+++ b/manifests/polipo/base.pp
@@ -1,6 +1,6 @@
class tor::polipo::base {
- package { "polipo":
- ensure => installed,
+ package{'polipo':
+ ensure => present,
}
file { "/etc/polipo/config":
diff --git a/manifests/torsocks.pp b/manifests/torsocks.pp
index 6346707..7bb51ee 100644
--- a/manifests/torsocks.pp
+++ b/manifests/torsocks.pp
@@ -1,5 +1,5 @@
class tor::torsocks {
- if !$torsocks_ensure_version { $torsocks_ensure_version = 'installed'}
+ if !$torsocks_ensure_version { $torsocks_ensure_version = 'installed' }
include ::tor
package{'torsocks':
ensure => $torsocks_ensure_version,