aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-11-21 17:07:50 -0200
committerSilvio Rhatto <rhatto@riseup.net>2010-11-21 17:07:50 -0200
commit627dcf039b289858b3d36958f526b857e04d048e (patch)
treee1445eb2d6535553a0e41e22f4dd868ddd55a5a7 /lib
parent821902451c74670337065ce01ebd5821e1ac1e72 (diff)
downloadhydra-627dcf039b289858b3d36958f526b857e04d048e.tar.gz
hydra-627dcf039b289858b3d36958f526b857e04d048e.tar.bz2
Adding newkeys subcommand from keyringer
Diffstat (limited to 'lib')
-rw-r--r--lib/hydra/misc4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/hydra/misc b/lib/hydra/misc
index 77f717d..fd90e93 100644
--- a/lib/hydra/misc
+++ b/lib/hydra/misc
@@ -39,6 +39,10 @@ function hydra_check_preferences {
echo "Puppet folder not found: $PUPPET."
exit 1
fi
+
+ if [ -z "$PUPPET_KEYS" ]; then
+ PUPPET_KEYS="$PUPPET/files/keys"
+ fi
}
# Load a parameter from config