help-cfengine
[Top][All Lists]
Advanced

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

evaluated classes


From: Uwe Zeisberger
Subject: evaluated classes
Date: Sat, 16 Aug 2003 12:35:12 +0200
User-agent: Mutt/1.4.1i

Hello,

today I found that evaluated classes don't work exactly as hard and
user defined classes:

    leo@/tmp # ls -F
    cf.conf  ps_data

    leo@/tmp # cat cf.conf 
    control:
        actionsequence  = ( directories )
        Inform          = ( on )
        
        has_tmp_test2   = ( IsDir(/tmp/test2) )

    directories:
        IsDir(/tmp/test1)::
            /tmp/test1
                mode=700
                owner=root
                group=other

        has_tmp_test2::
            /tmp/test2
                mode=700
                owner=root
                group=other

    leo@/tmp # cfagent -f ./cf.conf -v
    ...
    MakePath(IsDir(/tmp/test1)::)
    MakePath(/tmp/test1)
    cfengine:leo: /tmp/test1 had permission 755, changed it to 700
    ...

    leo@/tmp # ls -F
    cf.conf  ps_data  test1/

Is this intended?

Uwe

-- 
Uwe Zeisberger

main(){char*a="main(){char*a=%c%s%c;printf(a,34,a,34%c";printf(a,34,a,34
,10);a=",10);a=%c%s%c;printf(a,34,a,34,10);}%c";printf(a,34,a,34,10);}

Attachment: pgp3L2GEpmPHr.pgp
Description: PGP signature


reply via email to

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