From 801229a98b27e6abc180e76e39d7b035373a2c17 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sat, 19 Aug 2017 16:40:55 +0200 Subject: [PATCH] make sure /etc/default/grub.d is just populated by puppet --- modules/grub/manifests/init.pp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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': -- 2.20.1