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 --- README.md | 6 ++---- manifests/arm.pp | 4 ++-- manifests/torsocks.pp | 4 ++-- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 97213c4..dac7078 100644 --- a/README.md +++ b/README.md @@ -72,8 +72,7 @@ To install tor, simply include the 'tor' class in your manifests: class { 'tor': } -You can specify the `$ensure_version` class parameter to get a specific -version installed. +You can specify the `$version` class parameter to get a specific version installed. However, if you want to make configuration changes to your tor daemon, you will want to instead include the `tor::daemon` class in your manifests, which will @@ -127,8 +126,7 @@ To install torsocks, simply include the `torsocks` class in your manifests: class { 'tor::torsocks': } -You can specify the `$ensure_version` class parameter to get a specific -version installed. +You can specify the `$version` class parameter to get a specific version installed. # Configuring relays diff --git a/manifests/arm.pp b/manifests/arm.pp index 44ddcbb..dfea7c8 100644 --- a/manifests/arm.pp +++ b/manifests/arm.pp @@ -1,9 +1,9 @@ # manage tor-arm class tor::arm ( - $ensure_version = 'installed' + $version = 'installed' ){ include ::tor package{'tor-arm': - ensure => $ensure_version, + ensure => $version, } } 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