-
Adam Lewenberg authored
This is the (old) master branch along with the fixes to the cron file permissions that Russ made.
Adam Lewenberg authoredThis is the (old) master branch along with the fixes to the cron file permissions that Russ made.
grub.pp 441 B
#
# Manage grub. Currently, we fix an error in the config file that keeps the
# timeout for console from working correctly on Red Hat systems.
class base::grub {
$file = '/boot/grub/grub.conf'
case $operatingsystem {
'redhat': {
exec { 'cleangrubconf':
command => "sed -i -e 's/--timeout/-timeout/' $file",
onlyif => "grep -- '--timeout' $file",
}
}
}
}