voxpupuli / puppet-augeasproviders_grub

Augeas-based grub type and providers
Apache License 2.0
9 stars 33 forks source link

Questions about kernel_parameter and grub_user providers #40

Closed linuxdan closed 5 years ago

linuxdan commented 5 years ago

Is is necessary to run grub2-mkconfig or does the provider perform this action or its equivalent ?

Also, it would be nice to have all the parameters listed and explained.

raphink commented 5 years ago

Not sure about the first question, maybe @trevor-vaughan knows more about that.

As for parameters and their descriptions, you can run puppet describe <type> or refer to the forge page at https://forge.puppet.com/herculesteam/augeasproviders_grub/types

linuxdan commented 5 years ago

OK, thanks for that pointer. Found another (bug|undocumented feature) :

If I set grub_user "ensure" to absent, it leaves the password lines behind. I am going to try adding "purge => true," and see what happens

linuxdan commented 5 years ago

adding "purge => true," cleared the garbage :D

linuxdan commented 5 years ago

By trial and error, I found that running grub2-mkconfig is unnecessary and I also figured out how to use https://forge.puppet.com/puppetlabs/reboot properly !

I will have to give it a try on #39 and see what I can figure out