This post was migrated from my original Blog,…

Recently I stumbled upon a problem: How to ship my Puppet manifests — which were hosted on a private GitHub repository — to different servers that not necessarily were part of the same network, and hence, did not share a Puppet Master?

One option was: add a SSH deploy key to each server and clone the repo. Ok, that works, but I wanted to script the whole thing, and creating SSH keys is a bit cumbersome (IMHO).

In the end, my solution was a Self-Extracting shell script hosted on S3! To my complete surprise, it’s really easy to do this. All you need is a bit of shell and an open mind. …

Igor Gentil

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store