From 0e6252a0ed154daa6ef6b1514db85b9e66b84706 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Thu, 17 Aug 2017 11:24:05 +0200 Subject: [PATCH] Use new virt factor in grub manifest --- modules/grub/manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', -- 2.20.1