[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is this quirky for a simple copy, editfiles operation?
From: |
Brendan Strejcek |
Subject: |
Re: Is this quirky for a simple copy, editfiles operation? |
Date: |
Tue, 10 May 2005 13:25:11 -0500 |
User-agent: |
Mutt/1.5.6+20040907i |
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.
- Is this quirky for a simple copy, editfiles operation?, Joel Majka, 2005/05/10
- Re: Is this quirky for a simple copy, editfiles operation?,
Brendan Strejcek <=
- Re: Is this quirky for a simple copy, editfiles operation?, Tim Nelson, 2005/05/11
- Re: Is this quirky for a simple copy, editfiles operation?, Jamie Wilkinson, 2005/05/12
- Re: Is this quirky for a simple copy, editfiles operation?, Mark Burgess, 2005/05/12
- Re: Is this quirky for a simple copy, editfiles operation?, Ed Brown, 2005/05/12
- Re: Is this quirky for a simple copy, editfiles operation?, Brendan Strejcek, 2005/05/12
- Re: Is this quirky for a simple copy, editfiles operation?, Ed Brown, 2005/05/12
- Re: Is this quirky for a simple copy, editfiles operation?, Brendan Strejcek, 2005/05/12
- Re: Is this quirky for a simple copy, editfiles operation?, Brendan Strejcek, 2005/05/12
- Message not available
- Re: Is this quirky for a simple copy, editfiles operation?, Brendan Strejcek, 2005/05/12
- Re: Is this quirky for a simple copy, editfiles operation?, Mark Burgess, 2005/05/12