From 5f6ba933933b4e2cb002216e0be358b3e83b2cc3 Mon Sep 17 00:00:00 2001 From: Ben Vincent Date: Wed, 24 Apr 2024 23:34:21 +1000 Subject: [PATCH] fix: absent to file, for custom_facts.yaml --- site/profiles/manifests/base/facts.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/profiles/manifests/base/facts.pp b/site/profiles/manifests/base/facts.pp index aa89994..5344d19 100644 --- a/site/profiles/manifests/base/facts.pp +++ b/site/profiles/manifests/base/facts.pp @@ -30,7 +30,7 @@ class profiles::base::facts { # create the file that will be read file { '/root/.cache/custom_facts.yaml': - ensure => absent, + ensure => file, owner => 'root', group => 'root', mode => '0644',