Re: Yum Package problem in CF3

2010-11-05 Thread Seva Gluschenko
Samuel, it is Yum's behaviour, AFAIK. To be completely sure, you can try running yum manually and compare results. 2010/11/5 Samuel Plum : > Hi, >        I'm having an issue with a package promise in cf3, was hoping someone > would have an answer. >        Basically what we are trying to do is se

allow regular expression to define packages to install

2010-11-05 Thread Bas van der Vlies
Just a suggestion. When we want to install all security fixes or have minor distribution update. We do not know all packages before hand. So i just want to install all package updates that involved a security update or distribution upgrade. So i tried this, but this does not work packages:

Cfengine Help: Re: Are case-insensitive classes possible?

2010-11-05 Thread no-reply
Forum: Cfengine Help Subject: Re: Are case-insensitive classes possible? Author: babudro Link to topic: https://cfengine.com/forum/read.php?3,19067,19081#msg-19081 Nice discussion. I appreciate all of the comments, especially Seva's observation that DNS is case-insensitive so of course it makes

Inconsistent cf-promises behavior

2010-11-05 Thread Marc Baudoin
Hi, I've just got an e-mail from a Cfengine client saying: cf3:/var/cfengine/inputs/stg_storage.cf:17,0: Broken variable syntax or bracket mismatch in string ( $(s\321G@), near token '' cf-agent was not able to get confirmation of promises from cf-promises, so going to failsafe The bin

Cfengine Help: Re: Yum Package problem in CF3

2010-11-05 Thread no-reply
Forum: Cfengine Help Subject: Re: Yum Package problem in CF3 Author: babudro Link to topic: https://cfengine.com/forum/read.php?3,19078,19083#msg-19083 YUM does have its quirks, but I think it should work. If I already have a software package installed I get inconsistent responses from YUM. For

Cfengine Help: Re: Inconsistent cf-promises behavior

2010-11-05 Thread no-reply
Forum: Cfengine Help Subject: Re: Inconsistent cf-promises behavior Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,19082,19084#msg-19084 I've seen similar messages myself. They are rare and seemingly random. I have not been able to reproduce them under controlled cond

Cfengine Help: Insertion of certain definitions, in predefined order

2010-11-05 Thread no-reply
Forum: Cfengine Help Subject: Insertion of certain definitions, in predefined order Author: pieterb Link to topic: https://cfengine.com/forum/read.php?3,19085,19085#msg-19085 I'm trying to manage a printers.conf file for all workstations in the office. Addition or removal of a printer has to be a

Cfengine Help: Re: Insertion of certain definitions, in predefined order

2010-11-05 Thread no-reply
Forum: Cfengine Help Subject: Re: Insertion of certain definitions, in predefined order Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,19085,19086#msg-19086 String variable can contain multiple lines. For example: "myvar" string => "This is a block of text that contains

Cfengine Help: Re: Insertion of certain definitions, in predefined order

2010-11-05 Thread no-reply
Forum: Cfengine Help Subject: Re: Insertion of certain definitions, in predefined order Author: pieterb Link to topic: https://cfengine.com/forum/read.php?3,19085,19087#msg-19087 Neil, this works for the first printer. Imagine I now try to add the string myvar2 to the same file, which is differen

Cfengine Help: Re: Insertion of certain definitions, in predefined order

2010-11-05 Thread no-reply
Forum: Cfengine Help Subject: Re: Insertion of certain definitions, in predefined order Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,19085,19088#msg-19088 Do you have a succinct example that you can show us? ___ Help-cfengine

Cfengine Help: Best platform to run cf-engine server (community)

2010-11-05 Thread no-reply
Forum: Cfengine Help Subject: Best platform to run cf-engine server (community) Author: hristob Link to topic: https://cfengine.com/forum/read.php?3,19089,19089#msg-19089 Hi, I wonder what will be the best platform to run cf-engine (cf-serverd) on? FreeBSD, CentOS or Debian ? Thanks, _

Cfengine Help: Re: Best platform to run cf-engine server (community)

2010-11-05 Thread no-reply
Forum: Cfengine Help Subject: Re: Best platform to run cf-engine server (community) Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,19089,19090#msg-19090 Cfengine should run fine on all of those. Choose based on which one you know best or which one fits best with your or

Cfengine Help: Re: Best platform to run cf-engine server (community)

2010-11-05 Thread no-reply
Forum: Cfengine Help Subject: Re: Best platform to run cf-engine server (community) Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,19089,19091#msg-19091 The distro which you like the most. :-) Cheers, --Nakarin ___ Help-cfengine

Cfengine Help: Re: Insertion of certain definitions, in predefined order

2010-11-05 Thread no-reply
Forum: Cfengine Help Subject: Re: Insertion of certain definitions, in predefined order Author: pieterb Link to topic: https://cfengine.com/forum/read.php?3,19085,19092#msg-19092 Alright, my Cfengine policy: bundle agent printer2 { vars: "printer_1" string => "This is a block of text that contai

Cfengine Help: Re: Insertion of certain definitions, in predefined order

2010-11-05 Thread no-reply
Forum: Cfengine Help Subject: Re: Insertion of certain definitions, in predefined order Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,19085,19093#msg-19093 It looks as though we have two strings that are blocks of text but CF may still examine each line individually. N

Cfengine Help: Re: Are case-insensitive classes possible?

2010-11-05 Thread no-reply
Forum: Cfengine Help Subject: Re: Are case-insensitive classes possible? Author: babudro Link to topic: https://cfengine.com/forum/read.php?3,19067,19094#msg-19094 zzamboni Wrote: --- >"lchostname" string => execresult("hostname | tr '[:uppe

Creating a directory named repos makes default promises set crash

2010-11-05 Thread Matthieu CERDA
Hello, I noticed that when you create a directory named "repos" in the masterfiles CF3 directory, having a freshly bootstrapped (not modified yet) environment, it makes the default promises set halt with : --- BEGIN CODE --- r...@mcerda-deb-vm3:/var/cfengine/inputs# cf-agent -I -K /var/cfengine

Cfengine Help: Re: Insertion of certain definitions, in predefined order

2010-11-05 Thread no-reply
Forum: Cfengine Help Subject: Re: Insertion of certain definitions, in predefined order Author: pieterb Link to topic: https://cfengine.com/forum/read.php?3,19085,19095#msg-19095 Thanks, insert_type => preserve_block seems to do the trick. This was added only recently right?

Cfengine Help: Re: Insertion of certain definitions, in predefined order

2010-11-05 Thread no-reply
Forum: Cfengine Help Subject: Re: Insertion of certain definitions, in predefined order Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,19085,19096#msg-19096 It goes back to at least 3.0.4. ___ Help-cfengine mailing list Help-cf

Cfengine Help: preserve_block always sets repaired flag?

2010-11-05 Thread no-reply
Forum: Cfengine Help Subject: preserve_block always sets repaired flag? Author: babudro Link to topic: https://cfengine.com/forum/read.php?3,19098,19098#msg-19098 Can anyone explain this behaviour? Is it a bug or is there a good reason I'm not catching? (snip) files: "/etc/hosts" c

Cfengine Help: New key naming algorithm

2010-11-05 Thread no-reply
Forum: Cfengine Help Subject: New key naming algorithm Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,19099,19099#msg-19099 I'm a little worried about how CF, as of 3.1.0, will now hash key names. Previously a key name was clear (e.g. root-10.10.10.10.pub). This meant

Re: Cfengine Help: New key naming algorithm

2010-11-05 Thread Matthieu CERDA
Le 05/11/2010 16:19, no-re...@cfengine.com a écrit : > Forum: Cfengine Help > Subject: New key naming algorithm > Author: neilhwatson > Link to topic: https://cfengine.com/forum/read.php?3,19099,19099#msg-19099 > > I'm a little worried about how CF, as of 3.1.0, will now hash key names. > Previou

Cfengine Help: Re: Cfengine Help: New key naming algorithm

2010-11-05 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: New key naming algorithm Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,19100,19101#msg-19101 Yes, I've seen existing keys converted. My concern is when I generate a new key pair on a client, I get localhost.priv and loca

Re: Cfengine Help: Re: Cfengine Help: New key naming algorithm

2010-11-05 Thread Matthieu CERDA
Le 05/11/2010 16:29, no-re...@cfengine.com a écrit : > Forum: Cfengine Help > Subject: Re: Cfengine Help: New key naming algorithm > Author: neilhwatson > Link to topic: https://cfengine.com/forum/read.php?3,19100,19101#msg-19101 > > Yes, I've seen existing keys converted. My concern is when I gen

Cfengine Help: Re: Cfengine Help: New key naming algorithm

2010-11-05 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: New key naming algorithm Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,19100,19103#msg-19103 I could md5 the server's localhost.pub versus the other unknown keys to find the correct one. Diff would also work. These not

Re: Cfengine Help: Re: Cfengine Help: New key naming algorithm

2010-11-05 Thread Matthieu CERDA
Le 05/11/2010 16:51, no-re...@cfengine.com a écrit : > Forum: Cfengine Help > Subject: Re: Cfengine Help: New key naming algorithm > Author: neilhwatson > Link to topic: https://cfengine.com/forum/read.php?3,19100,19103#msg-19103 > > I could md5 the server's localhost.pub versus the other unknown k

Re: Creating a directory named repos makes default promises set crash

2010-11-05 Thread Matthieu CERDA
Le 05/11/2010 15:52, Matthieu CERDA a écrit : > Hello, > > I noticed that when you create a directory named "repos" in the > masterfiles CF3 directory, having a freshly bootstrapped (not modified > yet) environment, it makes the default promises set halt with : > > --- BEGIN CODE --- > r...@mcerda-

Cfengine Help: Re: Best platform to run cf-engine server (community)

2010-11-05 Thread no-reply
Forum: Cfengine Help Subject: Re: Best platform to run cf-engine server (community) Author: hristob Link to topic: https://cfengine.com/forum/read.php?3,19089,19105#msg-19105 I did use CentOS, but for any reason cf-serverd crashes with segfault... It was good on testbed - few machines... But on

Re: Cfengine Help: Re: Best platform to run cf-engine server (community)

2010-11-05 Thread Frans Lawaetz
cf-serverd on CentOS would segfault for me as well when many clients attempted simultaneous connections. I've compiled the latest 3.1.0 release and this problem has seemingly gone away. Frans ___ Help-cfengine mailing list Help-cfengine@cfengine.org

Cfengine Help: Re: Yum Package problem in CF3

2010-11-05 Thread no-reply
Forum: Cfengine Help Subject: Re: Yum Package problem in CF3 Author: splum Link to topic: https://cfengine.com/forum/read.php?3,19078,19108#msg-19108 Babudro, Yes, that's pretty much exactly what we found. Yum will install the version you request if you include it in the command line (yum in

Cfengine Help: Re: Yum Package problem in CF3

2010-11-05 Thread no-reply
Forum: Cfengine Help Subject: Re: Yum Package problem in CF3 Author: mark Link to topic: https://cfengine.com/forum/read.php?3,19078,19109#msg-19109 This should be investigated carefully and if a change is needed in the COPBL "yum" definition, it can be made. I thought these things had been teste