]> gitweb.fluxo.info Git - keyringer.git/commitdiff
Minor fix
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 20 Jun 2010 19:03:45 +0000 (16:03 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 20 Jun 2010 19:03:45 +0000 (16:03 -0300)
share/keyringer/newkeys

index f4a88a511ad8fad39c0ab78de32679b4cdf96204..16bf2185ca53cd8b18af474c9f9d96ca67319732 100755 (executable)
@@ -29,7 +29,7 @@ function newkeys_puppet {
 
   for host in $nodes; do
     node="`echo $host | cut -d . -f 1`"
-    privkey="$PUPPET/$PUPPET_KEYS/"$node"_id_dsa"
+    privkey="$PUPPET_KEYS/"$node"_id_dsa"
     pubkey="$privkey.pub"
     if [ ! -e "$privkey" ] || [ ! -e "$pubkey" ]; then
       keyringer_exec genpair $BASEDIR ssh $node/ssh/id_dsa $host $privkey