aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah <micah@riseup.net>2015-10-09 18:58:11 +0000
committerMicah <micah@riseup.net>2015-10-09 18:58:11 +0000
commit396e5d888882a9511df673d51f0af78998ef9b26 (patch)
treef477f97807f61b7071e62da1155c8b91d5f87b52
parent3925f36f7cd0f15029304363b0f5749750627c96 (diff)
parentb1902e24c24ae1f8b9df59079793bfde738bf33a (diff)
downloadpuppet-tor-396e5d888882a9511df673d51f0af78998ef9b26.tar.gz
puppet-tor-396e5d888882a9511df673d51f0af78998ef9b26.tar.bz2
Merge branch 'bugfix/issue-1-unset_outbound_bindaddresses' into 'master'
tor::daemon::relay: set $real_outbound_bindaddresses to [] when $outbound_bindad… …dresses is not explicitly set. Closes: #1 See merge request !2
-rw-r--r--manifests/daemon/relay.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/daemon/relay.pp b/manifests/daemon/relay.pp
index 3ef8602..ff52893 100644
--- a/manifests/daemon/relay.pp
+++ b/manifests/daemon/relay.pp
@@ -25,7 +25,7 @@ define tor::daemon::relay(
$nickname = $name
if $outbound_bindaddresses == [] {
- $real_outbound_bindaddresses = ''
+ $real_outbound_bindaddresses = []
} else {
$real_outbound_bindaddresses = $outbound_bindaddresses
}