Forum: Cfengine Help
Subject: Re: field_edit and duplication
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,19596,19605#msg-19605
Then the documentation seems of date.
http://www.cfengine.org/manuals/cf3-reference.html#mount-in-storage
On Thu, Dec 02, 2010 at 03:21:08PM -0500, no-re...@cfengine.com wrote:
>Forum: Cfengine Help
>Subject: Re: field_edit and duplication
>Author: neilhwatson
>Link to topic: https://cfengine.com/forum/read.php?3,19596,19600#msg-19600
>
>Perhaps storage promises could be enhanced t
Forum: Cfengine Help
Subject: Re: field_edit and duplication
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,19596,19600#msg-19600
Perhaps storage promises could be enhanced to handle more than just NFS mounts.
___
Help
Jesse,
I could propose to replace field_edits with file_edits, for example,
generic (library ready) body:
bundle edit_line etc_fstab(device,mpoint,fstype,opts,passes)
{
classes:
"already_there" expression =>
regline("$(device)\s+$(mpoint)\s+$(fstype)\s+$(opts)\s+$(passes)",
"$(edit.filename