Difference between revisions of "Handson2"

From Gridkaschool
Line 1: Line 1:
  +
'''<span style="color:#800000">All task in this color execute on naf-school02</span>
  +
<span style="color:#008000">All task in this color execute your associated VM ( cloud240xxx.desy.de ) </span>
  +
'''
 
# <span style="color:#800000">Login to the puppetmaster naf-school02 with your user account </span>
 
# <span style="color:#800000">Login to the puppetmaster naf-school02 with your user account </span>
 
# <span style="color:#800000">Go to /var/puppet/environment/$USER </span>
 
# <span style="color:#800000">Go to /var/puppet/environment/$USER </span>
Line 9: Line 12:
 
# <span style="color:#800000">Copy the module ''sshd'' you've created in the folder ''$USER/modules'' </span>
 
# <span style="color:#800000">Copy the module ''sshd'' you've created in the folder ''$USER/modules'' </span>
 
# <span style="color:#800000">Edit the file ''nodes.pp'' to include the module ''sshd'' </span>
 
# <span style="color:#800000">Edit the file ''nodes.pp'' to include the module ''sshd'' </span>
  +
# <span style="color:#008000">Call the puppet agent in test mode </span>

Revision as of 16:12, 29 August 2014

All task in this color execute on naf-school02 All task in this color execute your associated VM ( cloud240xxx.desy.de )

  1. Login to the puppetmaster naf-school02 with your user account
  2. Go to /var/puppet/environment/$USER
  3. Examine the folder and files below
  4. Log in parallel to your associated VM as root ( cloud240xxx.desy.de )
  5. Call the puppet agent in test mode
  6. Edit the file nodes.pp
    • Add a node definition for your associated node
  7. Call the puppet agent in test mode
  8. Copy the module sshd you've created in the folder $USER/modules
  9. Edit the file nodes.pp to include the module sshd
  10. Call the puppet agent in test mode