make snippets more visible
This commit is contained in:
parent
2cdf86a25b
commit
cf0dd32c58
1 changed files with 23 additions and 16 deletions
25
README.md
25
README.md
|
@ -9,33 +9,40 @@ To have a working repo, you should also include all the submodules:
|
||||||
|
|
||||||
To have a fully configured system from scratch, these are the steps:
|
To have a fully configured system from scratch, these are the steps:
|
||||||
|
|
||||||
1 - Install Ubuntu 12.04, 64-bit version. There is a preseed file included in this git repo which can make it easier and faster :)
|
1 - Install `Ubuntu 12.04, 64-bit version`. There is a preseed file included in this git repo which can make it easier and faster `:)`
|
||||||
|
|
||||||
2 - Create a new user, called 'rhizomatica' (not needed if you have used the preseed file)
|
2 - Create a new user, called `rhizomatica`. This is not needed if you have used the preseed file to do the install.
|
||||||
|
|
||||||
3 - Install openssh and openvpn:
|
3 - Install `openvpn` and `openssh`:
|
||||||
apt-get install openvpn openssh
|
|
||||||
|
|
||||||
4 - Configure the VPN (normally just a matter of unpacking the config and keys in /etc/openvpn and restarting openvpn)
|
sudo apt-get install openvpn openssh
|
||||||
|
|
||||||
|
4 - Configure the VPN - normally just a matter of unpacking the config and keys in `/etc/openvpn` and restarting `openvpn`
|
||||||
|
|
||||||
5 - Install puppet:
|
5 - Install puppet:
|
||||||
|
|
||||||
<-- missing wget/dpkg -i command -->
|
sudo apt-get install puppet
|
||||||
|
|
||||||
6 - Edit /etc/puppet/puppet.conf and add the proper puppet server
|
6 - Edit `/etc/puppet/puppet.conf` and add the proper puppet server
|
||||||
|
|
||||||
7 - Run puppet for the first time:
|
7 - Run puppet for the first time:
|
||||||
|
|
||||||
puppet agent --test
|
puppet agent --test
|
||||||
|
|
||||||
This will generate the key and certificate
|
This will generate the key and certificate
|
||||||
|
|
||||||
8 - Connect to the VPN/Puppet server, check the certificates:
|
8 - Connect to the VPN/Puppet server, check the certificates:
|
||||||
|
|
||||||
puppet ca list
|
puppet ca list
|
||||||
|
|
||||||
And sign the one you just generated in the step above:
|
And sign the one you just generated in the step above:
|
||||||
|
|
||||||
puppet ca sign <hostname>
|
puppet ca sign <hostname>
|
||||||
|
|
||||||
9 - Personalize the hiera file which is going to describe your installation by copying over the template file to something like <hostname>.yaml in /etc/puppet/hieradata (on the VPN/Puppet server)
|
9 - *on the VPN/Puppet server* Personalize the hiera file which is going to describe your installation by copying over the template file to something like `<hostname>.yaml` in `/etc/puppet/hieradata`.
|
||||||
|
|
||||||
10 - Run puppet again:
|
10 - Run puppet again:
|
||||||
|
|
||||||
puppet agent --test
|
puppet agent --test
|
||||||
|
|
||||||
11 - Profit! :D
|
11 - Profit! `:D`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue