Try ensure file

This commit is contained in:
Micke Nordin 2024-05-20 11:46:58 +02:00
parent 472977fde4
commit c485935f30

View file

@ -25,7 +25,7 @@ class sunetdrive::lookup (
user { 'www-data': ensure => present, system => true } user { 'www-data': ensure => present, system => true }
file { '/opt/lookup/config.php': file { '/opt/lookup/config.php':
ensure => present, ensure => file,
owner => 'www-data', owner => 'www-data',
group => 'root', group => 'root',
content => template('sunetdrive/lookup/config.php.erb'), content => template('sunetdrive/lookup/config.php.erb'),