Difference between revisions of "Handson1"

From Gridkaschool
(Puppet first steps)
(Puppet first steps)
Line 18: Line 18:
 
# Write the first Manifest
 
# Write the first Manifest
 
## Create a puppet manifest which creates a testuser. Filename: ''handson1create.pp''
 
## Create a puppet manifest which creates a testuser. Filename: ''handson1create.pp''
  +
## Create a puppet manifest which removes the testuser. Filename: ''handson1remove.pp''
## Hint: https://docs.puppetlabs.com/puppet/latest/reference/lang_resources.html
 
  +
## Create a puppet manifest which combines. Filename: ''handson1combine.pp''
  +
## Apply the manifests to your node. Why does the ''handson1combine.pp'' fails?
  +
## Hint:
  +
##* https://docs.puppetlabs.com/puppet/latest/reference/lang_resources.html
  +
##* puppet apply --help

Revision as of 10:34, 27 August 2014

Hands-On

Environment

  1. Login via ssh to the workgroup server naf-school01.desy.de with your assigned account
  2. Check if you can login via ssh to you assigned VM as root
  3. Check if you can edit a text file on the wgs and the node. We provide vim, emacs, nano

Puppet first steps

  1. Use the puppet RAL to examine and configure the VM node solution
    1. Show all managed resources
    2. Show description of the resource service
    3. Show all configured services
    4. Create a testuser
    5. Show resource of the created user
    6. Delete the testuser
    7. HINT:
  2. Write the first Manifest
    1. Create a puppet manifest which creates a testuser. Filename: handson1create.pp
    2. Create a puppet manifest which removes the testuser. Filename: handson1remove.pp
    3. Create a puppet manifest which combines. Filename: handson1combine.pp
    4. Apply the manifests to your node. Why does the handson1combine.pp fails?
    5. Hint: