Skip to content
Snippets Groups Projects
Commit 7cf8762e authored by Filip Strömbäck's avatar Filip Strömbäck
Browse files

Updated execution of 'on_update'.

parent e2c6334f
No related branches found
No related tags found
2 merge requests!50Fix: Puppet Defining "data_provider": "hiera" in metadata.json is deprecated....,!40Merge from devel. Commits related to RHEL9 upgrade and pdk cleanup.
Pipeline #101932 passed
...@@ -136,11 +136,12 @@ class aes::auth ( ...@@ -136,11 +136,12 @@ class aes::auth (
notify => Exec['compile-auth-repo'], notify => Exec['compile-auth-repo'],
} }
# Note: We need a login shell, otherwise PATH and HOME are not set.
exec { 'compile-auth-repo': exec { 'compile-auth-repo':
user => $auth_user, user => $auth_user,
group => $auth_group, group => $auth_group,
path => $auth_home, path => $auth_home,
command => "$auth_home/on_update.sh", command => "/bin/bash -l $auth_home/on_update.sh",
refreshonly => true, refreshonly => true,
require => File["${auth_home}/on_update.sh"], require => File["${auth_home}/on_update.sh"],
notify => Service[$auth_service], notify => Service[$auth_service],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment