Difference between revisions of "Handson1"
From Gridkaschool
(→Puppet first steps) |
(→Puppet first steps) |
||
Line 5: | Line 5: | ||
# Check if you can edit a text file on the wgs and the node. We provide vim, emacs, nano |
# Check if you can edit a text file on the wgs and the node. We provide vim, emacs, nano |
||
=== Puppet first steps === |
=== Puppet first steps === |
||
− | # Use the puppet RAL to examine and configure the VM node |
+ | # Use the puppet RAL to examine and configure the VM node [[handson11|solution]] |
## Show all managed resources |
## Show all managed resources |
||
## Show description of the resource service |
## Show description of the resource service |
||
Line 12: | Line 12: | ||
## Show resource of the created user |
## Show resource of the created user |
||
## Delete the testuser |
## Delete the testuser |
||
− | <source lang="text">HINT: |
+ | ## <source lang="text">HINT: |
puppet resource --help |
puppet resource --help |
||
puppet describe |
puppet describe |
||
https://docs.puppetlabs.com/references/latest/type.html#user-attribute-ensure</source> |
https://docs.puppetlabs.com/references/latest/type.html#user-attribute-ensure</source> |
||
− | Solution: |
+ | Solution: |
# Write the first Manifest |
# Write the first Manifest |
||
## Create a file ''handson1.pp'' |
## Create a file ''handson1.pp'' |
Revision as of 10:19, 27 August 2014
Hands-On
Environment
- Login via ssh to the workgroup server naf-school01.desy.de with your assigned account
- Check if you can login via ssh to you assigned VM as root
- Check if you can edit a text file on the wgs and the node. We provide vim, emacs, nano
Puppet first steps
- Use the puppet RAL to examine and configure the VM node solution
- Show all managed resources
- Show description of the resource service
- Show all configured services
- Create a testuser
- Show resource of the created user
- Delete the testuser
HINT: puppet resource --help puppet describe https://docs.puppetlabs.com/references/latest/type.html#user-attribute-ensure
Solution:
- Write the first Manifest
- Create a file handson1.pp