summaryrefslogtreecommitdiff
path: root/manifests/torsocks.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/torsocks.pp')
-rw-r--r--manifests/torsocks.pp7
1 files changed, 4 insertions, 3 deletions
diff --git a/manifests/torsocks.pp b/manifests/torsocks.pp
index 7bb51ee..452b4f1 100644
--- a/manifests/torsocks.pp
+++ b/manifests/torsocks.pp
@@ -1,7 +1,8 @@
-class tor::torsocks {
- if !$torsocks_ensure_version { $torsocks_ensure_version = 'installed' }
+class tor::torsocks (
+ $ensure_version = 'installed',
+){
include ::tor
package{'torsocks':
- ensure => $torsocks_ensure_version,
+ ensure => $ensure_version,
}
}