help-cfengine
[Top][All Lists]
Advanced

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

upgrade 2.0.3 -> 2.0.5/2.0.6


From: Wheeler, John
Subject: upgrade 2.0.3 -> 2.0.5/2.0.6
Date: Mon, 31 Mar 2003 11:57:30 -0600

I noticed some strange behavior in 2.0.5 and 2.0.6 ( haven’t checked 2.0.4) . When I  run my current conf, notice that the copy directive  changed. Below is a snip from a normal run:

 

*********************************************************************

 Update Sched: copy pass 1 @ Mon Mar 31 11:36:10 2003

*********************************************************************

<snip>

</snip>

: cfengine: appending image /var/cfengine/inputs/cfagent.conf.100202 class any to singlecopy list

: Skipping excluded file /var/cfengine/inputs/cfagent.conf class any

: cfengine: appending image /var/cfengine/inputs/cfrun.hosts class any to singlecopy list

: cfengine: appending image /var/cfengine/inputs/cfservd.conf class any to singlecopy list

: cfengine: appending image /var/cfengine/inputs/update.conf class any to singlecopy list

<snip>

</snip>

 

The above repeats for every file in the update.conf’s copy section. The change or difference is that subsequent copies in either the cfagent.conf or included files repeats as follows:

 

*********************************************************************

 Main Tree Sched: copy.install pass 2 @ Mon Mar 31 11:36:21 2003

*********************************************************************

Checking copy from localhost:/usr/local/sbin/cfagent to /var/cfengine/bin/cfagent  <-------------

Checking copy from localhost:/usr/local/sbin/cfservd to /var/cfengine/bin/cfservd

Checking copy from localhost:/usr/local/sbin/cfexecd to /var/cfengine/bin/cfexecd

Checking copy from meriadoc:/cfengine/software/pkgs to /var/cfengine/scripts/pkgs

Checking copy from meriadoc:/cfengine/scripts/checksw to /var/cfengine/scripts/checksw

Checking copy from meriadoc:/cfengine/scripts/installsw to /var/cfengine/scripts/installsw

Checking copy from meriadoc:/cfengine/scripts/admin to /var/cfengine/scripts/admin

Checking copy from localhost:/usr/apps/bin/S99orcallator to /etc/init.d/orcallator

Checking copy from meriadoc:/cfengine/users/deploy/.ssh to /export/home/deploy/.ssh

Checking copy from meriadoc:/cfengine/users/deploy/.profile to /export/home/deploy/.profile

Checking copy from meriadoc:/cfengine/inputs to /var/cfengine/inputs

Checking copy from localhost:/usr/local/sbin/cfagent to /var/cfengine/bin/cfagent<-------------

Checking copy from localhost:/usr/local/sbin/cfservd to /var/cfengine/bin/cfservd

Checking copy from localhost:/usr/local/sbin/cfexecd to /var/cfengine/bin/cfexecd

Checking copy from meriadoc:/cfengine/software/pkgs to /var/cfengine/scripts/pkgs

Checking copy from meriadoc:/cfengine/scripts/checksw to /var/cfengine/scripts/checksw

 

 

First, why does it check cfagent twice?

Second, why is it even checking these at all? This is not the behavior I observe in 2.0.3. Should I “protect” every copy action with a class to prevent this type of behavior? Is this related to “single copy” and I just need to RTFM?

 

 

John Wheeler

jwheeler@us.britannica.com

312-347-7379

 


reply via email to

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