bug-cfengine
[Top][All Lists]
Advanced

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

Re: tidy with cfengine 2.0.a11


From: Ted Zlatanov
Subject: Re: tidy with cfengine 2.0.a11
Date: Tue, 17 Jul 2001 09:12:45 -0400
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.104

Ronan KERYELL <address@hidden> writes:

> I have problems with tidy as in :
> 
> tidy:
>    solaris::
>       # Avoid cfengine to leave parasitic files during crontab editing
>       # because cron would thought of users adm.cfsaved and root.cfsaved...
>       /var/spool/cron/crontabs
>          pattern=*.cfsaved
>          recurse=0
>          type=mtime
>          size=0
>          age=0
> 
> Looks like the size cannot be 0, 0b, 0k, 0m:
> 
> Import file /usr/local/Solaris-8/share/cfengine/cf/cron.cf
> cf:rodomouls.enst-bretagne.fr:/usr/local/Solaris-8/share/cfengine/cf/cron.cf:13:
>  size value must be a decimal number with units m/b/k 

Without commenting on the tidy bug, this is what I do to avoid
.cfsaved crontab files:

control:
 any::
  Repository    = ( /etc/cfengine/repository )

directories:
 any::
 /etc/cfengine/repository

Unfortunately this will apply to all backups and edits - if you are OK
with that, you should be fine.

Hope that helps
Ted




reply via email to

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