summaryrefslogtreecommitdiff
path: root/provider_base/test/openvpn
diff options
context:
space:
mode:
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>