Difference between revisions of "Handson4"
From Gridkaschool
Line 1: | Line 1: | ||
− | # Login to |
+ | # Login to gridkalogin01.desy.de (with your schoolNN account) |
− | # Go in the folder |
+ | # Go in the folder puppet |
# Examine the git repository |
# Examine the git repository |
||
#* pull |
#* pull |
||
Line 10: | Line 10: | ||
#* commit the local change |
#* commit the local change |
||
#* push your commit to the server |
#* push your commit to the server |
||
− | # Try to find your changes on |
+ | # Try to find your changes on gridkapuppet01.desy.de under /etc/puppet/environments |
− | # Remove your change. Choose one option |
+ | # Remove your change (on gridkalogin01). Choose one option |
#* reset the reposiory to initial state |
#* reset the reposiory to initial state |
||
#* remove the file and commit the change |
#* remove the file and commit the change |
||
# push the updated repository to the server. (if you use reset you have to use -f) |
# push the updated repository to the server. (if you use reset you have to use -f) |
||
− | # Examine again the |
+ | # Examine again the puppet environment on gridkapuppet01.desy.de |
# A [[puppetsession01|example]] session made by me |
# A [[puppetsession01|example]] session made by me |
Revision as of 11:00, 10 August 2016
- Login to gridkalogin01.desy.de (with your schoolNN account)
- Go in the folder puppet
- Examine the git repository
- pull
- log
- status
- Add a test file
- Create the file
- Add the file to your local 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 reposiory to initial state
- remove the file and commit the change
- 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