projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add slapd service definition
[mirror/dsa-puppet.git]
/
modules
/
grub
/
manifests
/
init.pp
diff --git
a/modules/grub/manifests/init.pp
b/modules/grub/manifests/init.pp
index
7d9a181
..
989d444
100644
(file)
--- a/
modules/grub/manifests/init.pp
+++ b/
modules/grub/manifests/init.pp
@@
-25,11
+25,12
@@
class grub {
$grub_manage = false
}
$grub_manage = false
}
- # hp-health requires nopat on linux 4.9
- $grub_do_nopat = ($::systemproductname =~ /^ProLiant/ and versioncmp($::kernelversion, '4.9') >= 0)
- $grub_do_extra = $::hostname in [fasolo]
-
if $grub_manage {
if $grub_manage {
+ # hp-health requires nopat on linux 4.9
+ $grub_do_nopat = ($::systemproductname =~ /^ProLiant/ and versioncmp($::kernelversion, '4.9') >= 0)
+
+ $grub_do_extra = $::hostname in [fasolo]
+
file { '/etc/default/grub':
# restore to default
source => 'puppet:///modules/grub/etc-default-grub',
file { '/etc/default/grub':
# restore to default
source => 'puppet:///modules/grub/etc-default-grub',