-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix mkconfig calls #64
Conversation
4335aef
to
a4a53ac
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's quite a large change, but LGTM
Testing this not having much luck, with kernel_parameter{'consoleblank':
ensure => present,
value => '0',
} Nothing much seems to happen, I would have expected it to be visible in the following:
Using
|
Updated augeasproviders_core to 2.6.0 since grub was > 2.4.0 Same result. |
Running with debug , with a parameter that was not set:
So grub2-mkconfig is called. and node reboots
So this seems okay. |
It seems that It used to result in a non-bootable system. |
@traylenator Any chance you can help pinpoint the 'fixed' version of grub? I can add code to avoid running things if we're on a broken version. I'm honestly surprised at this, you can't do everything through the new BLS material so it seems like this would have resulted in a lot of broken systems. |
My guess from the changelog alone is:
|
|
Thanks, that makes sense. I don't know that I have time to consolidate the BLS detection materials into Utils right now but we can at least make this safer. |
It looks like the original version of the OS shipped with 2.02-66, so the 2.02-68 limit appears to be the correct one and appears to be fixed at the first minor update (by a large jump). So this should be largely a non-issue on updated systems (but the safety hook still makes sense). |
Glad that matches, I do have old images I could boot and test if needed. |
We probably should add the BLS options based off of #60 but it'll take some additional integration work to make sure it trickles down everywhere. |
Well, it turns out that the version matching is going to be almost impossible to make vendor neutral. So....I'm going to mark it as supporting EL 8.1+ in the metadata for now. |
8f841c0
to
a861639
Compare
@raphink Added a warning to the README and bumped the metadata deps. Will try to refactor to use BLS as I can. |
@raphink So, Travis CI is timing out for an unknown reason. I can try mucking about with the |
Hold off on pushing this, debugging something in EL7 |
@traylenator Made an update to the way Currently having some issues with el8 and FIPS mode. They broke something in the stack and I'm trying to figure out what. Prior to 8.3 everything was fine. |
@raphink Managed to speed up the travis tests. Also, this is now working as expected. |
Fixed: * Moved the puppetx/augeasproviders_grub/menuentry.rb file to util.rb to match the module name * Modified all `flush` functions to call the 'global update' mkconfig which was added as `PuppetX::AugeasprovidersGrub::Util.mkconfig` * Removed EL6 from the beaker tests since the OS is no longer supported by the vendor and fails to run Added: * Puppet 7 support * EL8.1+ support Changed: * Updated the travis.yml to run faster Closes voxpupuli#63 fix super calls in flush try to speed up travis builds install unbuffer in travis fix provider inheritance add augeas tools
4fa5775
to
1bb6266
Compare
Rebased for a single commit. |
Fixed:
to match the module name
flush
functions to call the 'global update' mkconfigwhich was added as
PuppetX::AugeasprovidersGrub::Util.mkconfig
supported by the vendor and fails to run
Added:
Closes #63