From e3c4862f3a79c0c9375625b2922e2d3ad2a9d0df Mon Sep 17 00:00:00 2001 From: Paul Edmon Date: Fri, 26 Sep 2025 10:10:16 -0400 Subject: [PATCH 1/2] Adding run dir. --- manifests/init.pp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/manifests/init.pp b/manifests/init.pp index e4450b1..c8be6a5 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -147,4 +147,12 @@ $custom_checks.each |$name, $params| { nhc::custom_check { $name: * => $params } } + + file { '/var/nhc/run': + ensure => $directory_ensure, + force => $_directory_force, + owner => 'root', + group => 'root', + mode => '0700', + } } From 2eb936f0a3f5ddf9091173230015979d2140c441 Mon Sep 17 00:00:00 2001 From: Paul Edmon Date: Fri, 26 Sep 2025 10:16:26 -0400 Subject: [PATCH 2/2] Helps if I get the right order :P. --- manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index c8be6a5..e4e7867 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -148,7 +148,7 @@ nhc::custom_check { $name: * => $params } } - file { '/var/nhc/run': + file { '/var/run/nhc': ensure => $directory_ensure, force => $_directory_force, owner => 'root',