aboutsummaryrefslogtreecommitdiff
path: root/manifests/torsocks.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/torsocks.pp')
-rw-r--r--manifests/torsocks.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/torsocks.pp b/manifests/torsocks.pp
index e3221c9..7bb51ee 100644
--- a/manifests/torsocks.pp
+++ b/manifests/torsocks.pp
@@ -1,6 +1,7 @@
class tor::torsocks {
+ if !$torsocks_ensure_version { $torsocks_ensure_version = 'installed' }
include ::tor
package{'torsocks':
- ensure => present,
+ ensure => $torsocks_ensure_version,
}
}