Forum: CFEngine Help
Subject: Re: cf-runexec confusion
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,23898,23903#msg-23903
If I understand cf-runagent's help then -s should define a class. I don't see
this.
ettin:~# cf-runagent -V
@@@
@@@ cf-runagent
@ @@@ @ CFEngine Core 3.2.0
@ @@@ @
@ @@@ @
@ @
@@@
@ @
@ @
@ @
Copyright (C) Cfengine AS 2008-2011
ettin:~# cf-runagent -vs foobar
cf3> Cfengine - autonomous configuration engine - commence self-diagnostic
prelude
cf3> ------------------------------------------------------------------------
cf3> Work directory is /var/cfengine
....
cf3> -> Defined classes = { 10_0_0_1 192_168_0_1 64_bit Day7 GMT_Hr15 Hr10
Hr10_Q3 Lcycle_1 Min40_45 Min41 Monday Morning November
PK_MD5_49c0d7a71a9ae2003e20c28e40384a3b Q3 Yr2011 all any ca cfengine
cfengine_3 cfengine_3_2 cfengine_3_2_0 community_edition compiled_on_linux_gnu
cpu1_high_ldt cpu_high_ldt debian debian_6 debian_6_0 debian_6_0__n__l
entropy_cfengine_in_low entropy_dns_in_low entropy_dns_out_low
entropy_ftp_in_low entropy_ftp_out_low entropy_icmp_in_low entropy_icmp_out_low
entropy_irc_in_low entropy_irc_out_low entropy_misc_in_low entropy_misc_out_low
entropy_netbiosdgm_in_low entropy_netbiosdgm_out_low entropy_netbiosns_in_low
entropy_netbiosns_out_low entropy_netbiosssn_in_low entropy_netbiosssn_out_low
entropy_nfsd_in_low entropy_nfsd_out_low entropy_smtp_out_low
entropy_ssh_in_low entropy_ssh_out_low entropy_tcpack_in_low
entropy_tcpack_out_low entropy_tcpfin_in_low entropy_tcpfin_out_low
entropy_tcpsyn_in_low entropy_tcpsyn_out_low entropy_udp_in_low ent
ropy_udp_out_low entropy_wwws_in_low ettin ettin_watson_wilson_ca
fe80__2e0_81ff_feb5_ee1e fe80__2e0_81ff_feb5_ee1f have_aptitude ipv4_10
ipv4_10_0 ipv4_10_0_0 ipv4_10_0_0_1 ipv4_192 ipv4_192_168 ipv4_192_168_0
ipv4_192_168_0_1 linux linux_2_6_32_5_amd64 linux_x86_64
linux_x86_64_2_6_32_5_amd64
linux_x86_64_2_6_32_5_amd64__1_SMP_Mon_Oct_3_03_59_20_UTC_2011 net_iface_br0
net_iface_eth0 net_iface_ppp0 no_ok runagent smtp_in_high_ldt syslog_high_ldt
syslog_normal_normal verbose_mode watson_wilson_ca webaccess_low_normal
weberrors_low_dev1 wwws_out_high_ldt x86_64 }
cf3> -> Negated Classes = { }
cf3> Initiate variable convergence...
cf3> -> Checking common class promises...
cf3> -> Additional class defined: am_policy_hub
cf3> ...........................................................................
cf3> * Hailing 127.0.0.1 : 5308, with options "" (serial)
cf3> ...........................................................................
cf3> No existing connection to 127.0.0.1 is established...
cf3> Set cfengine port number to 5308 = 5308
cf3> Set connection timeout to 10
cf3> -> Connect to 127.0.0.1 = 127.0.0.1 on port 5308
cf3> .....................[.h.a.i.l.].................................
cf3> Strong authentication of server=127.0.0.1 connection confirmed
cf3> -> Public key identity of host "127.0.0.1" is
"MD5=49c0d7a71a9ae2003e20c28e40384a3b"
cf3> ! Not updating last seen, as this appears to be a host with a duplicate
key
cf3> !! Unspecified server refusal (see verbose server output)cf3> Couldn't
recv
cf3> !!! System error for recv: "Connection reset by peer"
No sign of class 'foobar'. Anyone?
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine