Changes between Version 1 and Version 2 of how-to/puppet


Ignore:
Timestamp:
Mar 7, 2011, 9:52:35 PM (13 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • how-to/puppet

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