Infrastructure as code on Azure with Puppet & Chef 17
Log Into the PE Console
Before you create the puppet agent VM, you need the password that’s
generated when the puppet master is provisioned. This is used to access
the PE console, a web GUI, that enables you to manage node requests,
assign classes to nodes, trigger puppet runs, and much more. For more
information, see the PE console section of the online documentation.
In this section, you get the password, and then you access the console.
Step 1. Get the console credentials.
Run sudo watch tail /etc/puppetlabs/installer/database_info.install Locate
the setting, q_puppet_enterpriseconsole_auth_password, which has the
password appended to it.
It looks similar to this: q_puppet_enterpriseconsole_auth_password=Foryurcit0
If the password does not appear, the console is not yet ready.
Note: If you forget to open a port
when you’re setting up the puppet
master, you can do it afterwards:
on the Azure dashboard, click the
arrow on the puppet master VM,
click ENDPOINTS, click Add, choose
standalone endpoint, and select or
create the port you want.
Copy the password for use in step 3.
The username for the console is admin.
Step 2. Open the PE console.
In a browser window, type “https://<public DNS name>”.
For example: “https://pe-demo.cloudapp.net”. Ensure you’re using “https”,
not “http”.
This is a good way to nd out when your PE VM has been created. You’ll
know it’s ready when you see the login for the console (see image).
Step 3. Log into the PE console.
In the PE console login, type in your user name and password to log into
the console. The rst time you connect to the console, you get an SSL
security warning. It’s safe to proceed. For more information, see the the PE
documentation.
Because you haven’t set up any agents yet, there’s not much information
here.
Click Node and you’ll see the puppet master node listed, along with its
private DNS name.
After you add an agent in the next section, you’ll return to the console.
Note: If your puppet master did not
install successfully, check out the log
that’s located here:
/var/log/upstart/puppetinit.log