Re: Cfengine Help: Re: package mgmt with apt

2010-11-01 Thread Michael Potter
On Mon, Nov 1, 2010 at 7:25 PM, wrote: > 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 lit

Cfengine Help: Re: Cfengine Help: Re: package mgmt with apt

2010-11-01 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Re: package mgmt with apt Author: joke Link to topic: https://cfengine.com/forum/read.php?3,18977,18984#msg-18984 Tim Cutts Wrote: --- > Just to clarify - that doesn't disable debconf. &

Cfengine Help: Re: package mgmt with apt

2010-11-01 Thread no-reply
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

Re: Cfengine Help: Re: package mgmt with apt

2010-11-01 Thread Michael Potter
Thanks for the tips! In my experiments with the default bundle so far, it seems to be set up adequately for non-interactive mode - cf-agent was able to install a package without much difficulty. The one issue I found with the default bundle, is that it called 'dpkg -l' and parsed the entire outpu

Re: Cfengine Help: Re: package mgmt with apt

2010-11-01 Thread Tim Cutts
On 1 Nov 2010, at 07:43, no-re...@cfengine.com wrote: > Forum: Cfengine Help > Subject: Re: package mgmt with apt > Author: joke > Link to topic: https://cfengine.com/forum/read.php?3,18977,18979#msg-18979 > > There are pitfalls using apt or aptitude with cfengine. You need to make sure > to di

Cfengine Help: Re: package mgmt with apt

2010-11-01 Thread no-reply
Forum: Cfengine Help Subject: Re: package mgmt with apt Author: joke Link to topic: https://cfengine.com/forum/read.php?3,18977,18979#msg-18979 There are pitfalls using apt or aptitude with cfengine. You need to make sure to disable interactive functions of apt-get/aptitude or the install process