summaryrefslogtreecommitdiff
path: root/provider_base/test/openvpn
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-01-31 04:31:54 -0800
committerelijah <elijah@riseup.net>2013-01-31 04:31:54 -0800
commit3c3ed940466eabf9cb56a47614133b5bc90d4ad7 (patch)
tree0541b1fe1caee02533de024de99562ba322ccddf /provider_base/test/openvpn
parent09649211f3c4b9ffd08af15deabe5916cf78df72 (diff)
added /etc/openvpn/ca_bundle.pem in order to allow multiple CA certs to be used.
Diffstat (limited to 'provider_base/test/openvpn')
-rw-r--r--provider_base/test/openvpn/client.ovpn.erb6
1 files changed, 2 insertions, 4 deletions
diff --git a/provider_base/test/openvpn/client.ovpn.erb b/provider_base/test/openvpn/client.ovpn.erb
index 96cb7177..a0bdd307 100644
--- a/provider_base/test/openvpn/client.ovpn.erb
+++ b/provider_base/test/openvpn/client.ovpn.erb
@@ -9,10 +9,8 @@ auth SHA1
cipher AES-128-CBC
tls-cipher DHE-RSA-AES128-SHA
-<% manager.services['openvpn'].node_list.each_node do |node| -%>
-<% unless node.local -%>
-<%= "remote #{node.openvpn.gateway_address} 1194 udp"%>
-<% end -%>
+<% vpn_nodes.each_node do |node| -%>
+<%= "remote #{node.openvpn.gateway_address} 1194 udp"%>
<% end -%>
<ca>