aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/leap_cli/config/macros.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/leap_cli/config/macros.rb b/lib/leap_cli/config/macros.rb
index 844f6c5..3c59356 100644
--- a/lib/leap_cli/config/macros.rb
+++ b/lib/leap_cli/config/macros.rb
@@ -197,6 +197,7 @@ module LeapCli; module Config
#
def stunnel_client(node_list, port, options={})
@next_stunnel_port ||= 4000
+ hostnames(node_list) # record the hosts
node_list.values.inject(Config::ObjectList.new) do |hsh, node|
if node.name != self.name || options[:include_self]
hsh["#{node.name}#{port}"] = Config::Object[