Joel Majka wrote:
> The first quirk is that I don't see a way to serialize identical
> action-types in an actionsequence. For example, how would I put
> together a sequence that first would copy files from an NFS mount,
> perform an editfiles, and then copy them into their proper location? I
> don't see a way to define something like actionsequence=(copy1
> editfiles copy2). My ugly workaround is to use two seperate
> cfagent.conf files and run them in sequence.
Ugly, but this works:
control:
actionsequence = ( copy.pass1 editfiles copy.pass2 )
copy:
pass1::
/orig/path/some/file
dest=/edit/me
pass2::
/edit/me
dest=/final/dest
editfiles:
{ /edit/me
# SomeEdits
}
I really hope the actionsequence goes away in cfengine 3.
_______________________________________________
Help-cfengine mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-cfengine