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

Fixed warning in exec statement.

parent c23bbfc6
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 #101946 passed
......@@ -136,13 +136,13 @@ class aes::auth (
notify => Exec['compile-auth-repo'],
}
# Note: We need a login shell, otherwise PATH and HOME are not set.
exec { 'compile-auth-repo':
user => $auth_user,
group => $auth_group,
path => $auth_home,
cwd => $auth_home,
path => '/bin:/usr/bin',
command => "${auth_home}/on_update.sh",
environment => ["HOME=${auth_home}", 'PATH=/bin:/usr/bin'],
environment => ["HOME=${auth_home}"],
refreshonly => true,
require => File["${auth_home}/on_update.sh"],
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