help-cfengine
[Top][All Lists]
Advanced

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

double warnings ?!


From: Yves
Subject: double warnings ?!
Date: Mon, 12 May 2003 20:18:42 +0100

Hello,

there are double warnings because of "pass 1" and "pass 2", how can I prevent 
it ?
As you can see, I did not quite catch, why there is pass 2.

Syntax:
-----------
control:
        actionsequence  = ( editfiles._checkit )

editfiles:
        _checkit::

        { /var/spool/cron/crontabs/root

               WarnIfNoSuchLine  "0,30 * * * * /usr/local/cfengine/sbin/cfexecd 
-F"
        }

        { /etc/services

                WarnIfNoSuchLine "cfengine        5308/tcp       # 
Administrationstool"
        }


Result:
----------
Warning, file /etc/services has no line matching cfengine        5308/tcp       
# Administrationstool
Warning, file /var/spool/cron/crontabs/root has no line matching 0,30 * * * * 
/usr/local/cfengine/sbin/cfexecd -F
Warning, file /etc/services has no line matching cfengine        5308/tcp       
# Administrationstool
Warning, file /var/spool/cron/crontabs/root has no line matching 0,30 * * * * 
/usr/local/cfengine/sbin/cfexecd -F


Output:
----------
*********************************************************************
 Main Tree Sched: editfiles._checkit pass 1 @ Fri May  9 09:54:55 2003
*********************************************************************


                  New temporary class additions
                  --------( Pass 1 )-------
                             _checkit
Begin editing /etc/services
Warning, file /etc/services has no line matching cfengine        5308/tcp       
# Administrationstool
End editing /etc/services
....................................................................
Begin editing /var/spool/cron/crontabs/root
Warning, file /var/spool/cron/crontabs/root has no line matching 0,30 * * * * 
/usr/local/cfengine/sbin/cfexecd -F
End editing /var/spool/cron/crontabs/root
....................................................................
Job start time set to Fri May  9 09:54:55 2003


*********************************************************************
 Main Tree Sched: editfiles._checkit pass 2 @ Fri May  9 09:54:55 2003
*********************************************************************


                  New temporary class additions
                  --------( Pass 2 )-------
                             _checkit
Begin editing /etc/services
Warning, file /etc/services has no line matching cfengine        5308/tcp       
# Administrationstool
End editing /etc/services
....................................................................
Begin editing /var/spool/cron/crontabs/root
Warning, file /var/spool/cron/crontabs/root has no line matching 0,30 * * * * 
/usr/local/cfengine/sbin/cfexecd -F
End editing /var/spool/cron/crontabs/root
....................................................................
Job start time set to Fri May  9 09:54:55 2003



Gruß Yves

 Y99@gmx.de am 09.05.2003





reply via email to

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