From: elijah Date: Wed, 27 Mar 2013 08:11:38 +0000 (-0700) Subject: make sure stunnel hostnames show up in /etc/hosts X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=354c455dc6d463d5eed43804d1eb3aaa95c9e471;p=leap%2Fleap_cli.git make sure stunnel hostnames show up in /etc/hosts --- 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[