From 77226079874216a22563cff089fcc4b2211bf30d Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 27 May 2018 10:00:01 -0300 Subject: Ansible support at init and newnode --- lib/hydra/misc | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') 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`" -- cgit v1.2.3