aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/hydra/misc1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/hydra/misc b/lib/hydra/misc
index 77c2988..2c5789b 100644
--- a/lib/hydra/misc
+++ b/lib/hydra/misc
@@ -176,6 +176,7 @@ function hydra_hiera_query {
local param="$2"
# Build basic query command
+ # There might be weird hiera errors, so that's why we're doing a "2> /dev/null" redirection
hiera="hiera --config $HYDRA_FOLDER/puppet/hiera.yaml"
hiera_params="settings::confdir=$HYDRA_FOLDER/puppet ::clientcert=$node"
role="`$hiera nodo::role $hiera_params 2> /dev/null`"