[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
cfagent.conf for clients in different subnets
From: |
Garrett, Matt M SITI-ITDIEEE |
Subject: |
cfagent.conf for clients in different subnets |
Date: |
Tue, 13 May 2003 14:07:41 +0100 |
Folks
I am using cfengine quite well.
Small problem in that half the clients are in one subnet and half in another
e.g 127.4.4.XXX 127.4.5.XXX
Currently my cfagent.conf file looks like
copy:
solaris::
/usr/local/cfengine/inputs/solaris/subnet1 dest=/
recurse=inf
server=WHAT_ever
/usr/local/cfengine/inputs/solaris/subnet2 dest=/
recurse=inf
server=WHAT_ever
What would be nice is just to have one input e.g
/usr/local/cfengine/inputs/solaris
File's in there to have some end tag to say they were part of subnet1 or subnet2
or no end tag to make the file on both subnets.
e.g
/usr/local/cfengine/inputs/solaris/etc/auto_master_#subnet1# >- copy to client
as /etc/auto_master
/usr/local/cfengine/inputs/solaris/etc/auto_master_#subnet2# >- copy to client
as /etc/auto_master
/usr/local/cfengine/inputs/solaris/etc/nsswitch.conf >- copy to
client as /etc/nsswitch.conf
If the above makes any sense ?
Any idea's if it is possible , and if so how.
If it make any difference I am using cfengine version 2.0.5
Thanks
Matt
Matthew Garrett
Unix System Support
Shell Information Technology International Limited
Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom
Tel: +44 (0)1224 81 8373 Other Tel: Internal 630 8373
Email: Matt.M.Garrett@is.shell.com
Internet: http://www.shell.com
- cfagent.conf for clients in different subnets,
Garrett, Matt M SITI-ITDIEEE <=