Hi, I have exact situation. Below you will find my solution.
I define group under the name of the site. I know in which site I'm in according to the IP ( using IPRange ). Then I declare variable with the name of the site. When I copy file for example, I insert $(site) into the path and copy the relevant file. For example, if you have different httpd.conf file for different sites, I would do: $(masterfiles)/$(site)/httpd.conf dest=/etc/apache/httpd.conf Zeev Fisher Marvell Semiconductor Israel Ltd -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Predrag Zecevic - Solaris System Administrator Sent: Tuesday, September 13, 2005 6:18 PM To: [email protected] Subject: [cfEngine] one master server - multiple SITE configuration Hi, I have tried to find if somebody has such situation (none found for now): * ONE cfengine master host * Many cfengine client hosts BUT for TWO different ${site} setup, both ${site}s are located within same ISP network (so domainname is same!) * Is that possible (since we might want to have two completely different httpd.conf template files, and to edit them according to ${site})? * Does anybody can point to some solution? Regards ;-) _______________________________________________ Help-cfengine mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-cfengine _______________________________________________ Help-cfengine mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-cfengine
