help-cfengine
[Top][All Lists]
Advanced

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

problem with singlecopy in 2.0.7p3


From: Jeff Wasilko
Subject: problem with singlecopy in 2.0.7p3
Date: Mon, 14 Jul 2003 16:33:12 -0400
User-agent: Mutt/1.3.99i

I'm using singlecopy as discussed in 
http://mail.gnu.org/archive/html/help-cfengine/2003-05/msg00013.html
to copy files once based on a variable.


The relevant bits of my config are:

control:

        singlecopy      = ( on )
        # fileserver setup, some short two-letter variables copy: uses
        fs              = ( scully )        # fileserver
        dr              = ( /is/local/state/cfengine/distributed/) 
        SiteTulsa:: site        = ( SiteTulsa )
        SiteBedford:: site      = ( SiteBedford )

copy:
        # site specific (with host over-ride) copies go here
        
        $(dr)/etc/inet/ntp.conf.$(host) server=$(fs) dest=/etc/inet/ntp.conf 
            mode=444 owner=root group=other backup=false type=sum
            inform=true syslog=false
            
        $(dr)/etc/inet/ntp.conf.$(site) server=$(fs) dest=/etc/inet/ntp.conf
            mode=444 owner=root group=root backup=false type=sum
            inform=true syslog=false


It appears that cfengine is skilling the $site copy (here's
output from  cfagent -d3 -q:


*********************************************************************
 Main Tree Sched: copy pass 1 @ Mon Jul 14 16:30:09 2003
*********************************************************************

Checking copy from localhost:/is/local/state/cfengine/distributed//etc/inet/ntp.
conf.scully to /etc/inet/ntp.conf
cfengine:scully: Can't stat /is/local/state/cfengine/distributed//etc/inet/ntp.c
onf.scully in copy
Checking copy from localhost:/is/local/state/cfengine/distributed//etc/inet/ntp.
conf.SiteBedford to /etc/inet/ntp.conf
cfengine:scully: Nothing scheduled for copy._is_local_state_cfengine_distributed
__etc_inet_ntp__etc_inet_ntp_conf (0/1 minutes elapsed)
Saving the setuid log in /is/local/state/cfengine/cfagent.scully.log
Job start time set to Mon Jul 14 16:30:09 2003

Is the $host specific copy keeping the $site one from running 
(0/1 minutes elapsed)?

Any thoughts what may be going wrong?

Thanks!

-j




reply via email to

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