automation

Using git hooks to trigger Rundeck jobs

April 27, 2017
rundeck, puppet, hiera, automation, bash, sysadmin, ops

Using git hooks to trigger Rundeck jobs # 2017-04-27 At work, we keep our hiera yaml files in a git repo (encrypted using the excellent hiera-eyaml backend). I got really tired of doing a git pull on the puppetmaster each time I made a change to a hiera file. So, I wanted to set up a way to pull these changes automatically each time I did a commit. The first thought I had was to just set up some keys so the git server could ssh to the puppet master and run a git pull. ...