From: Peter Palfrader Date: Sat, 19 Aug 2017 14:40:55 +0000 (+0200) Subject: make sure /etc/default/grub.d is just populated by puppet X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=801229a98b27e6abc180e76e39d7b035373a2c17;p=mirror%2Fdsa-puppet.git make sure /etc/default/grub.d is just populated by puppet --- diff --git a/modules/grub/manifests/init.pp b/modules/grub/manifests/init.pp index 1f0079f8f..a2cbb59f2 100644 --- a/modules/grub/manifests/init.pp +++ b/modules/grub/manifests/init.pp @@ -31,7 +31,12 @@ class grub { } file { '/etc/default/grub.d': - ensure => directory + ensure => directory, + mode => '0555', + purge => true, + force => true, + recurse => true, + source => 'puppet:///files/empty/', } file { '/etc/default/grub.d/puppet-grub-serial.cfg':