From 1a4d240aadb784c065703e790b59ee39863005b3 Mon Sep 17 00:00:00 2001 From: mh Date: Thu, 1 Dec 2016 12:26:05 +0100 Subject: torsocks actually needs a daemon --- manifests/torsocks.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'manifests/torsocks.pp') diff --git a/manifests/torsocks.pp b/manifests/torsocks.pp index e9fc75b..9f735d4 100644 --- a/manifests/torsocks.pp +++ b/manifests/torsocks.pp @@ -2,7 +2,7 @@ class tor::torsocks ( $ensure_version = 'installed' ){ - include ::tor + include ::tor::daemon package{'torsocks': ensure => $ensure_version, } -- cgit v1.2.3 From 24c5d04259971af0033c86fdf90c6f9c22974600 Mon Sep 17 00:00:00 2001 From: mh Date: Wed, 21 Feb 2018 23:48:30 +0100 Subject: adjust to the common usage of version as param name --- manifests/torsocks.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'manifests/torsocks.pp') diff --git a/manifests/torsocks.pp b/manifests/torsocks.pp index 9f735d4..e1ba8a9 100644 --- a/manifests/torsocks.pp +++ b/manifests/torsocks.pp @@ -1,9 +1,9 @@ # manage torsocks class tor::torsocks ( - $ensure_version = 'installed' + $version = 'installed' ){ include ::tor::daemon package{'torsocks': - ensure => $ensure_version, + ensure => $version, } } -- cgit v1.2.3