summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-07-08 13:31:39 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-07-08 13:31:39 -0300
commit8fdbdf7c0183bf93af5bb7135c774e7be4b2a1af (patch)
treecdaaf2339a52c9735b87a53df30cfd04a061d613 /share
parent5544fa8f188821500f764cc559111047d745c9e4 (diff)
downloadhydra-8fdbdf7c0183bf93af5bb7135c774e7be4b2a1af.tar.gz
hydra-8fdbdf7c0183bf93af5bb7135c774e7be4b2a1af.tar.bz2
New keys script: commit and push in the keyringer repo
Diffstat (limited to 'share')
-rwxr-xr-xshare/hydra/newkeys2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/hydra/newkeys b/share/hydra/newkeys
index b697208..3a3b688 100755
--- a/share/hydra/newkeys
+++ b/share/hydra/newkeys
@@ -34,6 +34,8 @@ function hydra_newkeys {
function hydra_genpairs {
keyringer $HYDRA genpair ssh $node/ssh/id_rsa $host $privkey
keyringer $HYDRA genpair gpg $node/gpg/key $host
+ keyringer $HYDRA git commit
+ keyringer $HYDRA git push
# Add key into puppet git repository.
( cd $PUPPET_KEYS && git add $(basename $privkey) $(basename $pubkey) )