Skip to content
Snippets Groups Projects

Fix: Puppet Defining "data_provider": "hiera" in metadata.json is deprecated....

Merged Thomas Johansson requested to merge devel into test
26 files
+ 416
365
Compare changes
  • Side-by-side
  • Inline
Files
26
+ 0
10
#!/bin/bash
run_as_broker=$(cat <<'EOF'
cd
# To make sure we have a decent GCC in our path.
source /opt/rh/devtoolset-7/enable
@@ -17,12 +16,3 @@ cd
mkdir -p bin/
rm -f bin/auth
cp src/auth/auth bin/
EOF
)
# Compile as the auth user
sudo --user auth --group auth --set-home -- bash -c "$run_as_broker"
# Then, we can restart the services.
systemctl restart aes_auth.service
Loading