Thanks Ian,
I had tried with and without the context, also tried with set and setm,
tried to include the values first... but nothing worked.
I was about to go insane and through to remove the trailing slash in the
changes...
augeas { 'grub.conf/8250_LAR':
incl => '/etc/grub.conf',
lens => 'Grub.lns',
changes => [
'set title[1]/kernel/8250.nr_uarts 4',
'set title[1]/kernel/8250_core.nr_uarts 4',
],
}
and now it works, with and without the context.. but I'll put it back in
anyway just in case.
Thanks!
Chris
On Wednesday, 8 July 2015 05:23:59 UTC+2, ianm wrote:
>
>
>
> 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/789e685d-04b9-4918-b044-34e6f96e9b7d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.