Skip to content

Instantly share code, notes, and snippets.

@thwarted
Created September 11, 2013 22:47
Show Gist options
  • Save thwarted/6530835 to your computer and use it in GitHub Desktop.
Save thwarted/6530835 to your computer and use it in GitHub Desktop.
file { "/my/wrapper":
source => "puppet://...."
}
exec { "work-that-requires-key":
command => "ssh-agent /my/wrapper",
require => File["/my/wrapper"]
}
#!/bin/bash
ssh-add /path-to-key
git clone ....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment