Gent's,
I'm trying to create a promise for ntp clients, as far as I can see (with my rather limited cfengine3 skills) the sytax is ok. But it keeps complaining about that it cant resolve the phost variable when it executes the ntp promisses. The phost variable is set in promisses.cf also dns is configured correctly "phost" string => "145.100.22.149"; cf3 ========================================================= cf3 commands in bundle ntp_client (1) cf3 ========================================================= cf3 cf3 Verifying SQL table promises is only available with Cfengine Nova or above cf3 cf3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . cf3 Skipping whole next promise (/etc/init.d/ntpd restart), as context ntpd_ready is not relevant cf3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . cf3 cf3 ========================================================= cf3 files in bundle ntp_client (1) cf3 ========================================================= cf3 cf3 Verifying SQL table promises is only available with Cfengine Nova or above cf3 cf3 ......................................................... cf3 Promise handle: cf3 Promise made by: /etc/ntp.conf cf3 ......................................................... cf3 cf3 -> Handling file existence constraints on /etc/ntp.conf cf3 -> File permissions on /etc/ntp.conf as promised cf3 ?> defining promise result class ntpd_ready cf3 -> Handling file existence constraints on /etc/ntp.conf cf3 -> File permissions on /etc/ntp.conf as promised cf3 ?> defining promise result class ntpd_ready cf3 -> Copy file /etc/ntp.conf from $(masterfiles)/PROD/repl/root/etc/ntp/linux-ntp.conf check cf3 Unable to lookup hostname (${phost}) or cfengine service: Temporary failure in name resolution cf3 Unable to lookup hostname (${phost}) or cfengine service: Temporary failure in name resolution cf3 No existing connection to ${phost} is established... cf3 Set cfengine port number to 5308 = 5308 cf3 Unable to find host or service: (${phost}/5308) Temporary failure in name resolution cf3 No server is responding on this port cf3 !!! System error for socket: "Connection timed out" cf3 Unable to establish connection with ${phost} cf3 Unable to lookup hostname (${phost}) or cfengine service: Temporary failure in name resolution cf3 No suitable server responded to hail cf3 Promise (version not specified) belongs to bundle 'ntp_client' in file '/var/cfengine/inputs/tasks/os/ntp.cf' near line 6 Please advice,\ Regards, Patrick
_______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine