Hi,
        I asked this in #cfengine on irc.freenode.net a while back and was
pointed to this list.

Scenario, I have 1000 boxen here, and I want to setup a secure file
respository for each node, (for files such as ssh host keys,
certificates etc.) 

so I have something like this in the grant section:
/var/cfengine/masterfiles/secure/node0112  node0112.domain encrypt=true

Unfortunately with 1000 nodes, the parse time for the cfservd is in the
order of minutes, rather than seconds. And access times appear to be a
linear search down the list as well.

Is it possible to do something like the following?
/var/cfengine/masterfiles/secure/$remotehost $remotehost.domain
encrypt=true 

I couldn't see any variable that pertains to the remote connecting host,
and I suspect that all variables are expanded when cfservd.conf is
parsed, is that correct?

Cheers,

Colin Morey

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
http://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to