Merge "Show detailed grub update logs"
This commit is contained in:
commit
89df24b7e9
@ -25,7 +25,7 @@ module Puppet::Parser::Functions
|
||||
expected.split().each do |element|
|
||||
value = cmd_array.include?(element)
|
||||
if value == false
|
||||
Puppet.debug("#{element} is not presented in #{cmd}")
|
||||
Puppet.info("#{element} is not presented in #{cmd}")
|
||||
return value
|
||||
end
|
||||
end
|
||||
|
@ -143,6 +143,8 @@ class platform::compute::grub::update
|
||||
logoutput => true,
|
||||
}
|
||||
} elsif($::osfamily == 'Debian') {
|
||||
notice("Removing kernel args: ${to_be_removed}")
|
||||
notice("Adding kernel args: ${truncated_grub_updates}")
|
||||
exec { 'Remove the cpu arguments from /boot/efi/EFI/BOOT/boot.env':
|
||||
command => "/usr/local/bin/puppet-update-grub-env.py --remove-kernelparams '${to_be_removed}'",
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user