Hi You can try setm - I'm not expert but have managed to use setm to do
what you need:
# Enable audit prior to daemon
augeas { 'set_audit':
incl=> '/boot/grub/grub.conf',
lens=> 'grub.lns',
changes => [
Rob,
Thanks for the information, sometimes when I am just starting out on a
new project it is nice to have someone confirm that you are not all
crazy in what you are seeing. Removing the onlyifs seems reasonable,
and thanks for pointing out the count option as well as the
documentation. I will cont
On Fri, 2009-07-31 at 17:07 +0100, Trevor Hemsley wrote:
> Also the grub lens only works if /boot/grub/grub.conf resides on the
> same file system as /etc otherwise augtool craps out with an error about
> being unable to save a cross file system link. Short of editing the lens
> file, I'm not sure
There was a bug in the previous incarnation anyway.
augeas {"/boot/grub/grub.conf":
context => "/files/boot/grub/grub.conf",
changes => [ "set timeout 15",
'rm password',
'ins password after ti
Well, I just dropped the lenses in /usr/share/augeas/lenses, which I
assume is on the load path higher than /usr/share/augeas/lenses/dist,
where all of the other lenses are. But should I have to do that?
Maybe we can pick up the discussion on the augeas list.
- Chad
On Mon, Aug 3, 2009 at 8:57
Trevor Hemsley wrote:
> Having just spent about 2 hours trying to work out how to add a
>
> password --md5 $1$Qejy8/$.qFUuDeYL.cuSDpN1ZD.S1
>
> line to my grub.conf I thought it would be worth sharing how I finally
> got it to work.
>
> augeas {"/boot/grub/grub.conf":
>
Chad Huneycutt wrote:
> +1 for that. I did the same thing last week. I ended up editing the
> grub.conf lens. If there is a way to override the 'incl' directives
> or point augeas at a specific file and tell it to use a specific lens,
> I'd like to hear it as well.
You can use the load_path pr
+1 for that. I did the same thing last week. I ended up editing the
grub.conf lens. If there is a way to override the 'incl' directives
or point augeas at a specific file and tell it to use a specific lens,
I'd like to hear it as well.
On Fri, Jul 31, 2009 at 12:07 PM, Trevor
Hemsley wrote:
>