projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Do not do regex fo on variables that might not be defined yet
[mirror/dsa-puppet.git]
/
modules
/
grub
/
manifests
/
init.pp
diff --git
a/modules/grub/manifests/init.pp
b/modules/grub/manifests/init.pp
index
d23e3e8
..
bbb4ca4
100644
(file)
--- a/
modules/grub/manifests/init.pp
+++ b/
modules/grub/manifests/init.pp
@@
-27,7
+27,7
@@
class grub {
if $grub_manage {
# hp-health requires nopat on linux 4.9
if $grub_manage {
# hp-health requires nopat on linux 4.9
- $grub_do_nopat = ($::systemproductname =~ /^ProLiant/ and versioncmp($::kernelversion, '4.9') >= 0)
+ $grub_do_nopat = ($::systemproductname
and $::systemproductname
=~ /^ProLiant/ and versioncmp($::kernelversion, '4.9') >= 0)
$grub_do_extra = $::hostname in [fasolo]
$grub_do_extra = $::hostname in [fasolo]