yeah you had the before section, but I didn't see anything that ensured the "#
End of File" string was actually in the file, maybe I just missed it.
For what it's worth I found that negative look ahead pattern in replace_or_add
in the stdlib.
no-re...@cfengine.com wrote:
>Forum: CFEngine Help
>Subject: Re: CFEngine Help: Re: maintaining /etc/security/limits.conf
>with cf3
>Author: milindk
>Link to topic:
>https://cfengine.com/forum/read.php?3,24612,24671#msg-24671
>
>Oh no , in my build the limits.conf has last line as # End of File
>I just wanted to have all my config before that line , I could just
>have ignored it and appended at the end
>it is not really needed
>
>Also on the other note the fix you put in for convergence issue I liked
>it I could fix couple of other script where I had similar issue and i
>did not know how to fix it ..
>
>_______________________________________________
>Help-cfengine mailing list
>Help-cfengine@cfengine.org
>https://cfengine.org/mailman/listinfo/help-cfengine
--
Sent from Kaiten Mail for Android. Please excuse my brevity.
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine