Browse files

(#8146) Change default DASHBOARD_URL in external_node to localhost

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.
  • Loading branch information...
1 parent 102ab03 commit 3670e2b1c4ec99a70e6b0759d7d98727e83271c2 @nfagerlund nfagerlund committed Jun 29, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 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"

0 comments on commit 3670e2b

Please sign in to comment.