projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
only manage grub if we have it
[mirror/dsa-puppet.git]
/
modules
/
grub
/
manifests
/
init.pp
diff --git
a/modules/grub/manifests/init.pp
b/modules/grub/manifests/init.pp
index
51f3f87
..
73ec4ec
100644
(file)
--- a/
modules/grub/manifests/init.pp
+++ b/
modules/grub/manifests/init.pp
@@
-25,7
+25,7
@@
class grub {
$grub_manage = false
}
- if
$grub_manage
{
+ if
($::update_grub and $grub_manage)
{
# hp-health requires nopat on linux 4.9
$grub_do_nopat = ($::systemproductname and $::systemproductname =~ /^ProLiant/ and versioncmp($::kernelversion, '4.9') >= 0)