On 11/17/2011 04:01 PM, Marco Marongiu wrote: > Il 17/11/2011 15:25, Marco Marongiu ha scritto: >> Oh, thanks so much Neil!!! >> >> I've looked for "hang", "abort" and all possible synonyms, but of course >> I missed on "expire" :( > Unfortunately, it doesn't work :( > > I altered the "body agent control" in promises.cf, adding an > "expireafter => 1", but cf-agent is still hanging on aptitude/dpkg > asking if it should keep old configuration files or not. > > Am I missing anything? > > Ciao > -- bronto > _______________________________________________ > Help-cfengine mailing list > Help-cfengine@cfengine.org > https://cfengine.org/mailman/listinfo/help-cfengine
If you have an interactive program waiting for input, then CFEngine's batch approach is not really compatible. You probably need to run the programs in non-interactive mode, and maybe close any input channels < /dev/null. M _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine