New vm
Jump to navigation
Jump to search
Here is my checklist for creating a new VM:
- create a dhcp entry
- create an /etc/hosts entry on dhcp server
- create the vm on a hypervisor
patch puppet.conf
echo "[main] environment = lab" >> /etc/puppetlabs/puppet/puppet.conf
- yum upgrade
- run puppet, sign cert, run puppet
- run puppet twice, because dependencies are hard
- run puppet on backup server
- fix relayhost
- fix root mail alias
new rasp pi[edit]
This is a challenge because even though I run fedora27 on the pi, it still doesn't have a modern puppet package available. So I have to deal with an older puppet version. These kludges become necessary:
- mkdir -p /etc/puppet/environments/lab
- mkdir /etc/puppetlabs