Merge pull request 'fix: absent to file, for custom_facts.yaml' (#172) from neoloc/enc_role_facts2 into develop

Reviewed-on: unkinben/puppet-prod#172
This commit is contained in:
Ben Vincent 2024-04-24 23:05:05 +09:30
commit 6ad01abc6c

View File

@ -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',