On Thursday, July 30, 2015 at 12:02:11 AM UTC+2, Tom Limoncelli wrote:
>
> Of course, minutes after emailing that I found the answer to my own 
> question.
>
> If you install the augeasproviders_grub module (
> https://github.com/hercules-team/augeasproviders_grub) then it becomes as 
> simple as:
>
>     kernel_parameter { 'transparent_hugepage':
>       value => 'never',
>       ensure => present,
>     }
>
> In CentOS7, the module is smart enough to make the change to 
> /etc/default/grub's GRUB_CMDLINE_LINUX variable.  From a quick look at the 
> code, it seems to do the right thing for other OSs too.
>
> The Augeas people never fail to impress!
>
>

Glad it's useful to someone :-)


Raphaël

>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/b2df2a32-a40a-4fb5-b524-9c534528f53b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to