Ask Your Question
3

How to setup login on Puppet Dashboard

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

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
0

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

ramindk gravatar image

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

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 127.0.0.1 # 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
  </Location>
edit flag offensive delete link more

Comments

1

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_questor gravatar imagescm_questor ( 2014-07-05 18:57:14 -0500 )edit

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

ramindk gravatar imageramindk ( 2014-07-06 20:51:58 -0500 )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

2 followers

Stats

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

Seen: 191 times

Last updated: Jul 05 '14