summaryrefslogtreecommitdiff
path: root/provider_base
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-01-31 15:01:48 +0100
committervarac <varacanero@zeromail.org>2013-01-31 15:01:48 +0100
commit2585f661c55c3615eb95f660c101af70e9fd04e9 (patch)
tree1ea40ca07c18e92263e13dbdc6f70bfe1c8b943e /provider_base
parent24829044b9726f5eb9a8a0ac09f94152b943f9e4 (diff)
parentefed0453a754ca1c1725192546c10ccc4fb3ebe1 (diff)
Merge branch 'develop' of ssh://code.leap.se/leap_platform into develop
Diffstat (limited to 'provider_base')
-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>