summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-11-21 18:12:14 -0200
committerSilvio Rhatto <rhatto@riseup.net>2010-11-21 18:12:14 -0200
commit69d06aaef3dc845f45111356b3845938cd08b9f7 (patch)
treeb4e2b821f248b1d99c078f33f2a72facb683adca /share
parent7702aae3a471b4321833527931b71ce6b48b511b (diff)
downloadhydra-69d06aaef3dc845f45111356b3845938cd08b9f7.tar.gz
hydra-69d06aaef3dc845f45111356b3845938cd08b9f7.tar.bz2
Switching from DSA to RSA SSH keys
Diffstat (limited to 'share')
-rwxr-xr-xshare/hydra/newkeys4
-rwxr-xr-xshare/hydractl/backports1
2 files changed, 2 insertions, 3 deletions
diff --git a/share/hydra/newkeys b/share/hydra/newkeys
index 4970afb..dee5699 100755
--- a/share/hydra/newkeys
+++ b/share/hydra/newkeys
@@ -8,10 +8,10 @@ function hydra_newkeys {
# GPG keys should be manually imported in the nodes
for host in `hydra $HYDRA nodes`; do
node="`echo $host | cut -d . -f 1`"
- privkey="$PUPPET_KEYS/"$node"_id_dsa"
+ privkey="$PUPPET_KEYS/"$node"_id_rsa"
pubkey="$privkey.pub"
if [ ! -e "$privkey" ] || [ ! -e "$pubkey" ]; then
- keyringer $HYDRA genpair ssh $node/ssh/id_dsa $host $privkey
+ keyringer $HYDRA genpair ssh $node/ssh/id_rsa $host $privkey
keyringer $HYDRA genpair gpg $node/gpg/key $host
# Add key into puppet git repository.
diff --git a/share/hydractl/backports b/share/hydractl/backports
index 9771d72..61a7b88 100755
--- a/share/hydractl/backports
+++ b/share/hydractl/backports
@@ -7,5 +7,4 @@
if ! grep -q -e "^deb http://backports.debian.org/debian"; then
echo "deb http://backports.debian.org/debian-backports lenny-backports main contrib non-free" >> /etc/apt/sources.list
apt-get update ; apt-get install debian-backports-keyring ; apt-get update
- apt-get -t lenny-backports install puppet puppetmaster
fi