From 2a42abaaad208543b452439aab88a844650709b8 Mon Sep 17 00:00:00 2001 From: Anthony Somerset Date: Mon, 16 Dec 2024 15:10:26 +0200 Subject: [PATCH] updating path to prefer /sbin --- manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index 64a6892..07f0687 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -222,7 +222,7 @@ exec { 'RHSM-register': command => $_reg_command, creates => '/etc/pki/consumer/cert.pem', - path => '/bin:/usr/bin:/usr/sbin', + path => '/sbin:/usr/sbin:/bin:/usr/bin', require => File['/etc/rhsm/rhsm.conf'], } -> Rh_subscription <||>