Closed trevor-vaughan closed 8 years ago
Good catch it seems. Could you try to provide tests for this?
Here you go: https://github.com/trevor-vaughan/grub_test
bundle rake acceptance
OK. I would have preferred a PR adding a test to this module instead of external code.
Fair enough.
Are you OK with the approach that I used in that link? I can port it in, just not for a few days.
Take your time. I'm afk for another 10 days, can't really thoroughly review from my phone.
Attempted to apply the following with Puppet:
Received the following error:
This appears to be because GRUB_CMDLINE_LINUX_DEFAULT is not present in /etc/default/grub by default and should be created by Augeas if it is not present in the file.
Ideally, it would default to whatever GRUB_CMDLINE_LINUX has in it at the time of creation.