On Fri, Dec 22, 2006 at 05:03:16PM -0000, Steve Rader via UW-HEP Help System wrote:
> ginseng:/var/cfengine/masterfiles/inputs/cfrun.hosts has no other
> purpose than to be used by anise to populdate /usr/local/passwd.d
>
> so...
> 1) ditch cfrun.hosts
> 2) have mkpasswdfiles create default.passwd
> 3) have cfengine copy $(host).passwd if it exists else
> default.passwd or something like that
Alternatively, we could so something like the following:
ginseng:/var/cfengine/masterfiles/
./etc/passwd/BASE
./etc/passwd/CMS
./etc/passwd/NOC
./etc/passwd/TOOLS
[...]
where each file under ./etc/passwd/ represents a class of systems.
cfengine could either simply copy that file over or append it to a
base passwd file.
This is how we're doing dCache node_configs at the moment.
--
o--------------------------{ Will Maier }--------------------------o
| jabber:...wcmaier@xmpp.lfod.us | email:..will.maier@hep.wisc.edu |
| AIM:.................willmaier | cell:..............608.438.6162 |
*--------------------[ UW High Energy Physics ]--------------------* |