⇤ ← Revision 1 as of 2017-10-09 05:24:50
635
Comment: first draft
|
1127
how to bootstrap puppet
|
Deletions are marked like this. | Additions are marked like this. |
Line 17: | Line 17: |
= Configuring the new VPS = 1. Get onto the box via the new IP or DNS 1. Install minimal set of packages {{{ apt-get update apt-get install aptitude aptitude install git make aptitude install puppet-module-puppetlabs-stdlib }}} 1. Clone the puppet code {{{ cd /etc/puppet/ rmdir code git clone https://github.com/barneydesmond/personal-puppet.git code }}} 1. Run puppet to conform the system: {{{ make -C /etc/puppet/code full }}} Your system should now be good. |
Provisioning a new VPS
Assuming I'm using Vultr right now.
- Pick specs
- Sydney location, $5 VPS, Debian 9 should be good
Enable IPv6 and Auto Backups
- Tick all SSH keys
Generic firewall group
- Pick a good hostname and a leave the label as matching it
- Deploy Now
Once the installation gets far enough it'll have an IP address allocated. Grab it and go add the DNS entry for it at https://www.gandi.net/en
Go to the server's settings and set your Reverse DNS, foo.meidokon.net
- Configure backups: Weekly, Friday, 21:00 UTC
You should be pretty much sorted now.
Configuring the new VPS
- Get onto the box via the new IP or DNS
Install minimal set of packages
apt-get update apt-get install aptitude aptitude install git make aptitude install puppet-module-puppetlabs-stdlib
Clone the puppet code
cd /etc/puppet/ rmdir code git clone https://github.com/barneydesmond/personal-puppet.git code
Run puppet to conform the system:
make -C /etc/puppet/code full
Your system should now be good.