Hi all A policy file of mine is supposed to configure ntp on the systems. Unfortunately, aptitude/dpkg hang requiring keyboard input, and cf-agent hangs on them.
I've been searching for a way to timeout cf-agent on package installations, with no luck. But I am sure there *must* be a way... Any suggestions? The promise I'm using is: packages: "$(packages)" comment => "Install packages required to implement NTP", package_policy => "add", package_method => apt; # defined in stdlib and the processes end up like this: root@cfclient1:# pstree -p `pgrep cf-agent` cf-agent(1384)───sh(1398)───aptitude(1399)─┬─dpkg(1525) └─{aptitude}(1400) root@cfclient1:# pgrep -lf aptitude 1398 sh -c /usr/bin/aptitude --assume-yes install ntpdate ntp 1399 /usr/bin/aptitude --assume-yes install ntpdate ntp I'm on a Debian Linux "Squeeze" system, running on VirtualBox Ciao -- bronto _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine