Thursday, 9 July 2020

Puppet training VM, Virtualbox, Mac setup and config

Youtube video tutorials
Youtube Puppet training

Puppet 6.10 VM download


Couldn't get VM to receive request on port 80/443 so did port redirect based on this article


When the VM booted the HTTP port didn't seem to show the quest guide as expected, instead it showed the nginx default boot screen "Welcome to nginx".




Edit the nginx default.conf file to set the http root directory

vi /etc/nginx/conf.d/default.conf


Modify the location section to look like this:

location / {
        root   /usr/src/puppet-quest-guide/_book;
        index  index.html index.htm;
    }

Reboot nginx

sudo systemctl restart nginx





Puppet Enterprise:
  username: admin
  password: puppetlabs