summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rwxr-xr-xshare/hydra/newkeys2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hydra/newkeys b/share/hydra/newkeys
index dee5699..56f9b5b 100755
--- a/share/hydra/newkeys
+++ b/share/hydra/newkeys
@@ -15,7 +15,7 @@ function hydra_newkeys {
keyringer $HYDRA genpair gpg $node/gpg/key $host
# Add key into puppet git repository.
- ( cd $PUPPET_KEYS && git add $privkey $pubkey )
+ ( cd $PUPPET_KEYS && git add $(basename $privkey) $(basename $pubkey) )
fi
done
}