summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
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