bug-cfengine
[Top][All Lists]
Advanced

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

Incorrect compound class evaluation


From: Jim Wight
Subject: Incorrect compound class evaluation
Date: Thu, 3 Apr 2003 10:06:46 +0100

I have a situation in which a compound class is not being evaluated
correctly.

My actionsequence begins like this:

   actionsequence = ( copy  module:plugin.someclass  copy.phase2 )

and part of copy is like this:

   copy:
       phase2.!somehost.!someclass.always::
          /etc      dest=/tmp
                    include=passwd
                    backup=false
                    recurse=1
                    timestamps=preserve
                    encrypt=true
                    server=$(master)

The copy does not take place in the second pass on a host that is not
"somehost" and for which the module does not define "someclass";
"always" is my version of "any", and is always True. The copy does
take place then if I replace "!somehost" with the name of the host
running cfagent.

The copy also takes place in copy's first pass, if, for instance, I
replace "phase2" with any class that is True, e.g "any".

This happens with both 2.0.4 and 2.0.5 cfagent; my server is
2.0.4. What further information can I gather to track down where the
problem lies?

Jim





reply via email to

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