From: Peter Palfrader Date: Thu, 17 Aug 2017 09:24:05 +0000 (+0200) Subject: Use new virt factor in grub manifest X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=0e6252a0ed154daa6ef6b1514db85b9e66b84706;p=mirror%2Fdsa-puppet.git Use new virt factor in grub manifest --- diff --git a/modules/grub/manifests/init.pp b/modules/grub/manifests/init.pp index 1ef9ec783..1f6e7e6be 100644 --- a/modules/grub/manifests/init.pp +++ b/modules/grub/manifests/init.pp @@ -1,5 +1,5 @@ class grub { - if ($::kernel == 'Linux' and $::is_virtual and $::virtual == 'kvm') { + if ($::kernel == 'Linux' and $::virt == 'kvm') { file { '/etc/default/grub': # restore to default source => 'puppet:///modules/grub/etc-default-grub',