wiki:how-to/puppet/workflow

Version 2 (modified by Jamie McClelland, 13 years ago) ( diff )

--

Puppet workflow

Our workflow requires that you do something a little backwards. You have to git commit and then test your changes by git pushing into roach. Normally it should be the other way around.

Fortunately, you can still only publish tested commits.

  • Operate with both an root@roach ssh terminal and your working terminal on your workstation
  • On our workstation, make changes, git add them, and git commit them.
  • git push roach master
  • If they succeed, then you are done
  • If they fail:
    • Make additional changes on your workstation
    • git add the files you modified
    • git commit --amend
    • On roach, run freepuppet-init (that blows away your existing git repo, and builds a new empty one so your previosly pushed commit is no longer there).
    • On your workstation, run git push roach master
  • Repeat
Note: See TracWiki for help on using the wiki.