Hi,
I'm doing a lot of copying from many hosts to one, in order to collect
all SSH host keys onto the server. Since this is quite a long
operation, I'm using `ifelapsed=1440', assuming that host keys don't
really change that often:
copy:
/etc/ssh/ssh_host_rsa_key.pub
dest=$(copydest)/ssh-a1-e01.pub
server=a1-e01
type=checksum o=root g=root m=644
ifelapsed=1440 inform=true
define=ssh_key_copied
(...and a few hundred auto-generated stanzas of the same kind.)
It seems cfagent does first establish a connection to the remote host,
and abandons only afterwards because of the `ifelapsed'. Looking at the
code in do.c, I'm not quite sure how to get around this limitation.
Alex
--
Alexander Jolk / BUF Compagnie
tel +33-1 42 68 18 28 / fax +33-1 42 68 18 29
_______________________________________________
Bug-cfengine mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-cfengine