Forum: Cfengine Help
Subject: Re: package mgmt with apt
Author: joke
Link to topic: https://cfengine.com/forum/read.php?3,18977,18983#msg-18983

I haven't tried it yet but I think you can use the ifelapsed directive to do 
the dpkg checking a little less often. Only every 5 cf-agent run or so.

If you don't set the DEBIAN_FRONTEND environmentale variable new packages can 
be installed without any problems as long as no package actually uses debconf. 
If a package which uses debconf will get install and opens an debconf prompt 
cfengine will get stuck. How could cfengine ask the debconf questions.

Same goes for "Dpkg::Options::=--force-confold" as long as there are no changes 
to configuration files dpkg will install the new configuration file without 
problem. If there are changes dpkg will always ask what to do and cfengine will 
get stuck. Unless you told dpkg what to do by setting --force-confold or 
--force-confnew.

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to