Handson4: Difference between revisions

From Gridkaschool
Jump to navigationJump to search
No edit summary
No edit summary
Line 5: Line 5:
#* log
#* log
#* status
#* status
# Add a test file
# Alter or add a file
#* Create the file
#* Create or change the file
#* Add the file to your local repo
#* If you create a new file you have to add it to the git repo
#* 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 gridkapuppet01.desy.de under /etc/puppet/environments
# Try to find your changes on gridkapuppet01.desy.de under /etc/puppet/environments
# Remove your change (on gridkalogin01). Choose one option
# Remove your change (on gridkalogin01). Choose one option
#* reset the reposiory to initial state
#* reset the repository to initial state
#* remove the file and commit the change
#* remove/change the file and commit
# 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 puppet environment on gridkapuppet01.desy.de
# 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:04, 10 August 2016

  1. Login to gridkalogin01.desy.de (with your schoolNN account)
  2. Go in the folder puppet
  3. Examine the git repository
    • pull
    • log
    • status
  4. 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
  5. Try to find your changes on gridkapuppet01.desy.de under /etc/puppet/environments
  6. 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)
  7. Examine again the puppet environment on gridkapuppet01.desy.de
  8. A example session made by me