Handson4
From Gridkaschool
Jump to navigationJump to search
- Simple test
- Login to gridkalogin01.desy.de (with your schoolNN account)
- Go in the folder puppet
- Examine the git repository
- pull
- log
- status
- Alter or add a file
- Create or change the file
- If you create a new file you have to add it to the git repo
- commit the local change
- push your commit to the server
- Try to find your changes on gridkapuppet01.desy.de under /etc/puppet/environments
- Remove your change (on gridkalogin01). Choose one option
- reset the repository to initial state
- remove/change the file and commit
- push the updated repository to the server. (if you use reset you have to use -f)
- Examine again the puppet environment on gridkapuppet01.desy.de
- A example session made by me
- Real Test
- Change the in the module motd in the file modules/motd/manifests/init.pp the default message.
- commit and push your change
- Login in to your VM node (gridkaschoolNN)
- Run the puppet agent (puppet agent -t)