Ask Your Question

How to setup login on Puppet Dashboard

asked 2014-07-05 13:36:26 -0600

scm_learner gravatar image

Hi Team, I've setup the Puppet Dashboard as per the documents and its working absolutely fine. However the trouble is that everyone can see the Puppet dashboard activities by just entering the IP:port The only username password is enabled for mysql puppet database but not for the GUI of puppet dashboard. Is there anyway we can setup a Login as per-requisite to see the puppet dashboard. Thanks in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-07-05 15:08:51 -0600

ramindk gravatar image

updated 2014-07-05 15:10:48 -0600

It's not quite as easy as it seems. If you want http auth, you'll need to allow the IPs of any master that needs to post to the service as well as any monitoring as well. Here's the config we use.

  <Location "/">
    Order allow,deny
    Allow from # assume localhost should always be able to connect
    Allow from 54.xx.xx.10 # Monitoring Host
    Allow from 10.xx.xx.5 # puppet01.stage
    Allow from 10.xx.xx.8 # puppet01
    Allow from 10.xx.xx.3 # puppet02
    Satisfy any

    AuthName "Puppet Dashboard"
    AuthType Basic
    AuthUserFile /etc/apache2/htaccess/webapp.passwd
    Require valid-user
edit flag offensive delete link more



Thanks for the prompt reply Ramin. Basically i was looking to setup a Login page for Puppet dashboard, does it do the same. Sorry but where should i update this configuration, in server's apache file or in Puppet configuration's file.

scm_learner gravatar imagescm_learner ( 2014-07-05 18:57:14 -0600 )edit

This config goes in the vhost conf for the Puppet Dashboard vhost.

ramindk gravatar imageramindk ( 2014-07-06 20:51:58 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2014-07-05 13:36:26 -0600

Seen: 220 times

Last updated: Jul 05 '14