summaryrefslogtreecommitdiff
path: root/puppet/modules/obfsproxy/files
diff options
context:
space:
mode:
authorMicah Anderson <micah@leap.se>2014-11-15 13:36:51 -0500
committerMicah Anderson <micah@leap.se>2014-11-15 13:36:51 -0500
commit7521958cc6c210d65009aa87c6c7297fd9be3dd2 (patch)
tree81fc77f4b7b3018e20044a7ac99f4ac366f3d938 /puppet/modules/obfsproxy/files
parent9d0bd5610a286cf582af0f3b67ddc7647bc757dc (diff)
don't enable Tor DirPort if openvpn is running on port 80 (Bug #6377)
We need to check the openvpn hiera value, which may or may not be set. If it is not set, then we need to not lookup the $openvpn['ports]' values or we will get an error because it wont be the correct type. If we do have it, then $openvpn_ports gets set with the hash, otherwise it gets set to an empty hash (otherwise puppet will complain when we try to query the member() later with "member(): Requires array to work with"). Finally, if it is set to port 80, we don't include the tor::daemon::directory Change-Id: Ic366c72e966cae9d611e8fe5aa7ea7943be51241
Diffstat (limited to 'puppet/modules/obfsproxy/files')
0 files changed, 0 insertions, 0 deletions