diff options
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 90782b1..9aee2a1 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -2,8 +2,11 @@ import "polipo.pp" import "daemon.pp" class tor { + + if !$tor_ensure_version { $tor_ensure_version = 'installed' } + package { [ "tor", "torsocks" ]: - ensure => installed, + ensure => $tor_ensure_version, } service { 'tor': |