| | 44 | |
| | 45 | The next step is to create a virtual machine that will run puppet and connect to the master. This virtual machine will be your test puppet node. |
| | 46 | |
| | 47 | You will need to minimally install the following packages: |
| | 48 | |
| | 49 | {{{ |
| | 50 | aptitude install puppet lsb-release |
| | 51 | }}} |
| | 52 | |
| | 53 | Then, edit /etc/puppet/puppet.conf adding the following line: |
| | 54 | |
| | 55 | {{{ |
| | 56 | server=HOSTNAME-OF-MASTER |
| | 57 | }}} |
| | 58 | |
| | 59 | Replace HOSTNAME-OF-MASTER with the hostname of the machine from which yo uare running the puppet master command. |
| | 60 | |
| | 61 | Then, run the following command on your test puppet node: |
| | 62 | |
| | 63 | {{{ |
| | 64 | puppet agent --verbose --waitforcert 60 |
| | 65 | }}} |
| | 66 | |
| | 67 | On your master run: |
| | 68 | |
| | 69 | {{{ |
| | 70 | puppet cert --list |
| | 71 | }}} |
| | 72 | |
| | 73 | And you should see the hostname of your puppet node. |
| | 74 | |
| | 75 | Then run (FIXME should include fingerprint verification): |
| | 76 | |
| | 77 | {{{ |
| | 78 | puppet cert --confdir=$(pwd) --no-daemonize --sign HOSTNAME |
| | 79 | }}} |
| | 80 | |
| | 81 | Replace HOSTNAME with the listed hostname from the previous command. |
| | 82 | |
| | 83 | Once the cert is verified, you can run the following on your test puppet node to test changes to the manifests and modules: |
| | 84 | |
| | 85 | {{{ |
| | 86 | puppet agent --no-daemonize --verbose |
| | 87 | }}} |