Commit 26df1c0c authored by Walter Heck's avatar Walter Heck

Ugly hack to make things work with https://tickets.puppetlabs.com/browse/PUP-7165

parent 3635a118
Pipeline #378 passed with stages
in 2 minutes and 42 seconds
......@@ -176,7 +176,10 @@ hammer host update --name $HOSTNAME --hostgroup 'Puppet' --organization OpsTheat
hammer user create --admin true --firstname api --lastname user --locations Global --organizations OpsTheater --login opstheater --password opstheater --mail api@opstheater.com --auth-source-id 1
log "==> configuring hiera.yaml" norm
/opt/puppetlabs/bin/puppet config set hiera_config /etc/puppetlabs/code/environments/production/hiera.yaml
# the new hiera version in puppet 4.9.0 hard errors when older hiera config files are found inside environments
# the following ugly hack makes things work for now
mv /etc/puppetlabs/code/environments/production/hiera.yaml /etc/puppetlabs/puppet/hiera.yaml
rm -f /etc/puppetlabs/code/environments/*/hiera.yaml
log "==> $SIGN_OK OK:configuring hiera.yaml" ok
service httpd restart
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment