In the most common scenario, in which Dashboard and puppet master are installed on the same system, Dashboard was unable to be used as an external node classifier without editing the script or changing the system's name resolution. This commit allows the most common case to work silently, by changing the default DASHBOARD_URL from http://dashboard:3000 to http://localhost:3000.
Signed-off-by: nfagerlund <[email protected]> --- Local-branch: ticket/master/8146 bin/external_node | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/bin/external_node b/bin/external_node index 08d00d8..a680b2e 100755 --- a/bin/external_node +++ b/bin/external_node @@ -12,7 +12,7 @@ require 'yaml' require 'uri' require 'net/http' -DASHBOARD_URL = "http://dashboard:3000" +DASHBOARD_URL = "http://localhost:3000" # These settings are only used when connecting to dashboard over https (SSL) CERT_PATH = "/etc/puppet/ssl/certs/puppet.pem" -- 1.7.3.3 -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.
