Created
July 30, 2014 05:35
-
-
Save carmstrong/057756c17f872f3c69c8 to your computer and use it in GitHub Desktop.
confd examples
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{ range $user := gets "/builder/users/*" }}{{ range $keys := gets "/builder/users/" + base $user.Key + "/*" }} | |
command="/usr/local/bin/gitreceive run {{ base $user.Key }} {{ base $keys.Key }}",no-agent-forwarding,no-pty,no-user-rc,no-X11-forwarding,no-port-forwarding {{ $keys.Value }} | |
{{ end }}{{ end }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment