help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Broken multi-pass editfile functionality for the same file


From: Chris (Ducky) Chapin
Subject: Broken multi-pass editfile functionality for the same file
Date: Tue, 23 Jul 2002 15:28:42 -0700 (PDT)

Has anyone else run into this (in v2.0.3)?

I'd like to do multiple editfile passes on the same file:

===
control:
        actionsequence = ( editfiles.phase1 editfiles.phase2 )

editfiles:
        phase1::
                { /tmp/somefile
                        AutoCreate
                        AppendIfNoSuchLine "Step 1"
                }
        phase2::
                { /tmp/somefile
                        AppendIfNoSuchLine "Step 2"
                }

===

All I get in /tmp/somefile is "Step 1" =/

-Ducky





reply via email to

[Prev in Thread] Current Thread [Next in Thread]