If you have downloaded the Puppet Learning VM (Virtual Machine) and you are ready to start learning about Puppet via the quests, here are some useful commands and tips to help you think about before you get started.
quest begin <nameofquest>
- begin a questquest —help
shows a list of commands or help for one commandquest list
- list available questsquest status
- shows status of the current questcat README
facter ipaddress
systemctl --all | grep pe-
command to validate that all PE services are fully started, then use the quest
tool to restart the quest.restart_classroom_services.sh.
If still observe stopped Puppet-related services (e.g. pe-console-services) several minutes after the VM has started, double check that you have sufficient memory allocated to the VM and available on your host, then use the following restart script to restart these services in the correct order.Here's some examples of these commands in action.
cat README
facter ipaddress
Resetting your Puppet Learning VM password:
Resetting your Puppet Learning VM password (that had been randomly generated).
To check the password:
cat /var/local/password
To edit the password, you can use a vim editor that will be usable in the Puppet Learning VM and run these commands:
vi /var/local/password
[
(left bracket).q
to exit scrolling.You can also use the verify_classroom.sh script to check if you have set up enough memory for the VM to work.