Difference between revisions of "Handson2"

From Gridkaschool
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<span style="color:#800000">'''All tasks in this color execute on naf-school02'''</span><br />
+
<span style="color:#800000">'''All tasks in this color execute on gridkapuppet01'''</span><br />
<span style="color:#008000">'''All tasks in this color execute your associated VM ( cloud240xxx.desy.de )'''</span>
+
<span style="color:#008000">'''All tasks in this color execute your associated VM ( gridkaschoolXX.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 gridkapuppet01 as puppettest </span>
# <span style="color:#800000">Go to /var/puppet/environment/$USER </span>
+
# <span style="color:#800000">Go to /etc/puppet/environments/gridkaschoolXX </span>
 
# <span style="color:#800000">Examine the folder and files below </span>
 
# <span style="color:#800000">Examine the folder and files below </span>
# <span style="color:#008000">Log in to your associated VM as ''root'' ( cloud240xxx.desy.de ) </span>
+
# <span style="color:#008000">Log in to your associated VM as ''root'' ( gridkaschoolXX.desy.de ) </span>
# <span style="color:#008000">Call the puppet agent in test mode </span>
+
# <span style="color:#008000">Call the puppet agent in test mode (puppet agent -t)</span>
# <span style="color:#800000">Add a node definition for your associated node in the file nodes.pp</span>
+
# <span style="color:#008000">Edit on the VM the file /etc/motd </span>
# <span style="color:#008000">Call the puppet agent in test mode </span>
 
# <span style="color:#800000">Copy the module ''sshd'' you've created in the folder ''$USER/modules'' </span>
 
# <span style="color:#800000">Edit the your node definition to include the module ''sshd'' </span>
 
 
# <span style="color:#008000">Call the puppet agent in test mode </span>
 
# <span style="color:#008000">Call the puppet agent in test mode </span>

Latest revision as of 08:12, 30 August 2016

All tasks in this color execute on gridkapuppet01
All tasks in this color execute your associated VM ( gridkaschoolXX.desy.de )


  1. Login to the puppetmaster gridkapuppet01 as puppettest
  2. Go to /etc/puppet/environments/gridkaschoolXX
  3. Examine the folder and files below
  4. Log in to your associated VM as root ( gridkaschoolXX.desy.de )
  5. Call the puppet agent in test mode (puppet agent -t)
  6. Edit on the VM the file /etc/motd
  7. Call the puppet agent in test mode