diff options
author | mh <mh@immerda.ch> | 2018-02-13 01:22:57 +0100 |
---|---|---|
committer | mh <mh@immerda.ch> | 2018-02-13 01:22:57 +0100 |
commit | 24bd5ca46dc90c663f241933410d085fc1311fab (patch) | |
tree | f3498601b49fe453230c7a042edfd99b5c2f77f0 /manifests/onionbalance.pp | |
parent | 1fcbe72115d57d53fced2777c8b54a4ee4ec17e9 (diff) | |
parent | 228ae4a53999dbc49fa7c4d2883468dde10f19fb (diff) |
Merge remote-tracking branch 'shared/master'
Diffstat (limited to 'manifests/onionbalance.pp')
-rw-r--r-- | manifests/onionbalance.pp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/onionbalance.pp b/manifests/onionbalance.pp index 6a6b476..1921754 100644 --- a/manifests/onionbalance.pp +++ b/manifests/onionbalance.pp @@ -17,7 +17,7 @@ class tor::onionbalance( include ::tor - case $osfamily { + case $facts['osfamily'] { 'Debian': { $pkg_name = 'onionbalance' $instance_file = '/etc/tor/instances/onionbalance/torrc' @@ -39,7 +39,7 @@ class tor::onionbalance( $pkg_name = 'python2-onionbalance' } default: { - fail("OSFamily ${osfamily} not (yet) supported for onionbalance") + fail("OSFamily ${facts['osfamily']} not (yet) supported for onionbalance") } } @@ -54,7 +54,7 @@ class tor::onionbalance( mode => '0640', notify => Service['onionbalance']; $instance_file: - content => template("tor/onionbalance/${osfamily}.torrc.erb"), + content => template("tor/onionbalance/${facts['osfamily']}.torrc.erb"), owner => root, group => 0, mode => '0644', |