How to create an admin user on the Puppet console | blogatom.

If you ever forget the password for your Puppet console admin user, you can create a new one from the command line on the master machine:

export PATH=$PATH:/opt/puppet/bin
cd /opt/puppet/share/puppet-dashboard
bundle exec rake -s -f /opt/puppet/share/console-auth/Rakefile db:create_user USERNAME=thomas@conte.com PASSWORD='Secret123!' ROLE="Admin" RAILS_ENV=production