correct installation step
* We need openssh-server in the node * Join the puppet installation step with the other apt-get installs
This commit is contained in:
parent
76767d2aca
commit
b48f36d6ab
1 changed files with 8 additions and 12 deletions
20
README.md
20
README.md
|
@ -13,25 +13,21 @@ To have a fully configured system from scratch, these are the steps:
|
|||
|
||||
2 - Create a new user, called `rhizomatica`. This is not needed if you have used the preseed file to do the install.
|
||||
|
||||
3 - Install `openvpn` and `openssh`:
|
||||
3 - Install `openvpn`, `openssh-server` and `puppet`:
|
||||
|
||||
sudo apt-get install openvpn openssh
|
||||
sudo apt-get install openvpn openssh-server puppet
|
||||
|
||||
4 - Configure the VPN - normally just a matter of unpacking the config and keys in `/etc/openvpn` and restarting `openvpn`
|
||||
|
||||
5 - Install puppet:
|
||||
5 - Edit `/etc/puppet/puppet.conf` and add the proper puppet server
|
||||
|
||||
sudo apt-get install puppet
|
||||
|
||||
6 - Edit `/etc/puppet/puppet.conf` and add the proper puppet server
|
||||
|
||||
7 - Run puppet for the first time:
|
||||
6 - Run puppet for the first time:
|
||||
|
||||
puppet agent --test
|
||||
|
||||
This will generate the key and certificate
|
||||
|
||||
8 - Connect to the VPN/Puppet server, check the certificates:
|
||||
7 - Connect to the VPN/Puppet server, check the certificates:
|
||||
|
||||
puppet ca list
|
||||
|
||||
|
@ -39,10 +35,10 @@ And sign the one you just generated in the step above:
|
|||
|
||||
puppet ca sign <hostname>
|
||||
|
||||
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`.
|
||||
8 - *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`, where `hostname` is the name for the host you are currently configuring.
|
||||
|
||||
10 - Run puppet again:
|
||||
9 - Run puppet again:
|
||||
|
||||
puppet agent --test
|
||||
|
||||
11 - Profit! `:D`
|
||||
10 - Profit! `:D`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue