help-cfengine
[Top][All Lists]
Advanced

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

Need advice for smart copy


From: Zeev Fisher
Subject: Need advice for smart copy
Date: Mon, 29 Nov 2004 10:08:10 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1

Hi,

I would like to copy automounter files to all solaris hosts except specific hosts that will have different specific maps.

I did the following on the copy section in cf.solaris ( of course i pasted only the relevant lines ) :

copy:

$(masterfiles)/$(site)/solaris/all dest=/etc m=644 o=root g=root type=checksum include=auto_* r=1 define=modified_auto

SpecificHosts::

$(masterfiles)/SpecificHosts/$(host)/auto_archive dest=/etc/auto_archive m=644 o=root g=root type=checksum


The problem with this is that actually on the specific hosts every time this file is copied twice and the group modified_auto declared. Moreover , i notice that sometimes the auto_archive file from the general rule reside in the Specific hosts.


I know i can place NOT in the general copy section for the auto_* on the specific hosts but then i will have to put all the auto_* files for each specific hosts and not just the files that are different from the other.

I have 2 questions :

1) Isn't the order of the lines in the sections are deterministic that i know what comes after the other ? there wasn't sometimes a problem that the first copy is after the second copy.
2) Does anybody has advice how to best solve this configuration ?


Thanks !


--
Zeev Fisher - Unix System Administrator
Marvell Semiconductor Israel Ltd
6 Hamada Street, Mordot HaCarmel Industrial Park
Yokneam 20692
Israel

Email    -  Zeev.Fisher@il.marvell.com
Tel      -  + 972 4 9091402
Cell     -  + 972 54 4995402
Fax      -  + 972 4 9091501
WWW Page:     http://www.marvell.com
------------------------------------------------------------------------
This message may contain confidential, proprietary or legally privileged
information. The information is intended only for the use of the individual
or entity named above. If the reader of this message is not the
intended recipient, you are hereby notified that any dissemination, distribution
or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify us
immediately by telephone, or by e-mail and delete the message from your
computer.






reply via email to

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