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 )
- Login to the puppetmaster naf-school02 with your user account
- Go to /var/puppet/environment/$USER
- Examine the folder and files below
- Log in parallel to your associated VM as root ( cloud240xxx.desy.de )
- Call the puppet agent in test mode
- Edit the file nodes.pp
- Add a node definition for your associated node
- Call the puppet agent in test mode
- Copy the module sshd you've created in the folder $USER/modules
- Edit the file nodes.pp to include the module sshd
- Call the puppet agent in test mode