On Tue, 2015-07-07 at 07:33 -0700, Chris Lee wrote:
> I am trying to add two new options to grub.conf using augeas.
> The code is as follows:
>
> augeas { 'grub.conf/8250_LAR':
> tag => chris1,
> incl => '/boot/grub/grub.conf',
> lens => 'Grub.lns',
> changes => [
> 'set /title[1]/kernel/8250.nr_uarts 8',
> 'set /title[1]/kernel/8250_core.nr_uarts 8',
> ],
> }
Actually in this case it needs:
context => '/files/boot/grub/grub.conf',
or:
context => '/files/etc/grub.conf',
incl => '/etc/grub.conf',
--
Ian
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/1436325812.3994.77.camel%40its-ep-84lxwx1.its.uq.edu.au.
For more options, visit https://groups.google.com/d/optout.