Re: Cfengine Help: Re: Is it possible to turn off informational reporting associated with commands type promises?

2010-10-20 Thread Aleksey Tsalolikhin
OK, that helps, thanks, Neil! And I now know that body contain silent is part of cfengine_stdlib.cf. I'll have to study that stdlib top to bottom as soon as I can. OK, so I've learned how to silence output, but that silenced everything, I wanted to see just the "Q"uoted output, but not the "I"n

Cfengine Help: Re: upgrading 3.0.4 to 3.0.5p1?

2010-10-20 Thread no-reply
Forum: Cfengine Help Subject: Re: upgrading 3.0.4 to 3.0.5p1? Author: hristob Link to topic: https://cfengine.com/forum/read.php?3,18776,18814#msg-18814 rpm -qa cfengine-community cfengine-community-3.0.5p1-1.centos5 # rpm -Vv cfengine-community /etc/default/cfengine3 /etc

Cfengine Help: Re: upgrading 3.0.4 to 3.0.5p1?

2010-10-20 Thread no-reply
Forum: Cfengine Help Subject: Re: upgrading 3.0.4 to 3.0.5p1? Author: timw077 Link to topic: https://cfengine.com/forum/read.php?3,18776,18813#msg-18813 I think there is something wrong with the 3.0.5p1 packages. When I installed it on my RHEL 5 systems, all the binaries were gone. i.e. /usr

Cfengine Help: Re: Is it possible to turn off informational reporting associated with commands type promises?

2010-10-20 Thread no-reply
Forum: Cfengine Help Subject: Re: Is it possible to turn off informational reporting associated with commands type promises? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18797,18812#msg-18812 The same way you do any other body "/bin/command" contain => silent; } b

Re: Cfengine Help: Re: Is it possible to turn off informational reporting associated with commands type promises?

2010-10-20 Thread Aleksey Tsalolikhin
On Wed, Oct 20, 2010 at 5:04 AM, wrote: > Forum: Cfengine Help > Subject: Re: Is it possible to turn off informational reporting associated > with commands type promises? > Author: bbomgardner > Link to topic: https://cfengine.com/forum/read.php?3,18797,18800#msg-18800 > > Check out the contain

Re: Cfengine Help: Re: Could you please teach Cfengine that RHEL 5 systems use YUM as the package manager?

2010-10-20 Thread Aleksey Tsalolikhin
On Wed, Oct 20, 2010 at 5:09 AM, wrote: > > I am also using RHEL5.  It works for me by using this line: > > >      package_method        => yum, Thanks, same here, I was just suggesting an enhancement to cfengine, for it to know what OS's use what package managers, and run with that; of course a

Re: Is it possible to turn off informational reporting associated with commands type promises?

2010-10-20 Thread Aleksey Tsalolikhin
Hi, Franz. Thanks for your reply. I don't see "silent" on the cf3-reference page you sited, but I do see "no_output". Synopsis: true/false discard all output from the command Default value: false However, I don't want to discard the command output, I want to discard the informational message fr

Cfengine Help: Re: Could you please teach Cfengine that RHEL 5 systems use YUM as the package manager?

2010-10-20 Thread no-reply
Forum: Cfengine Help Subject: Re: Could you please teach Cfengine that RHEL 5 systems use YUM as the package manager? Author: hristob Link to topic: https://cfengine.com/forum/read.php?3,18799,18808#msg-18808 Another problem I ran into for delete is package_name_convention => "$(name).$(arch)";

Re: Using a variable in package_method

2010-10-20 Thread Bas van der Vlies
On 20-10-10 15:20, Seva Gluschenko wrote: > Bas, > > the truth is, package_method is the compound body, it can't be > referenced by a variable. > Seva, That is a pitty, would save some code. Thanks for the info. regards, > 2010/10/20 Bas van der Vlies: >> version used: 3.1.0b1 >> >> I could

Re: Using a variable in package_method

2010-10-20 Thread Seva Gluschenko
Bas, the truth is, package_method is the compound body, it can't be referenced by a variable. 2010/10/20 Bas van der Vlies : > version used: 3.1.0b1 > > I could not find it, but i get these error with this bundle with and > without "" for the variable package_method: > {{{ > Undeclared promise bo

Using a variable in package_method

2010-10-20 Thread Bas van der Vlies
version used: 3.1.0b1 I could not find it, but i get these error with this bundle with and without "" for the variable package_method: {{{ Undeclared promise body "$(package_method)()" was referenced in a promise cf-agent was not able to get confirmation of promises from cf-promises, so going to

Cfengine Help: Re: Linux: Restart service

2010-10-20 Thread no-reply
Forum: Cfengine Help Subject: Re: Linux: Restart service Author: babudro Link to topic: https://cfengine.com/forum/read.php?3,18802,18804#msg-18804 Hello Michael. I use the promise_repaired clause to detect if anything changed and, if so, the "commands:sendmail_fixed::" section takes effect. Th

Cfengine Help: Request for Cfengine's SVN ViewVC interface to offer the TAR download option

2010-10-20 Thread no-reply
Forum: Cfengine Help Subject: Request for Cfengine's SVN ViewVC interface to offer the TAR download option Author: babudro Link to topic: https://cfengine.com/forum/read.php?3,18803,18803#msg-18803 Hello Mark et al. I have ViewVC 1.1.7 installed on our Cfengine SVN server and it has a "Download

Cfengine Help: Re: Could you please teach Cfengine that RHEL 5 systems use YUM as the package manager?

2010-10-20 Thread no-reply
Forum: Cfengine Help Subject: Re: Could you please teach Cfengine that RHEL 5 systems use YUM as the package manager? Author: babudro Link to topic: https://cfengine.com/forum/read.php?3,18799,18801#msg-18801 Hello Aleksey. I am also using RHEL5. It works for me by using this line: pack

Linux: Restart service

2010-10-20 Thread Michael Schwartzkopff
Hi, is there any good template for restarting a service in Linux? Thanks. -- Dr. Michael Schwartzkopff Guardinistr. 63 81375 München Tel: (0163) 172 50 98 Fax: (089) 620 304 13 signature.asc Description: This is a digitally signed message part. ___

Cfengine Help: Re: Is it possible to turn off informational reporting associated with commands type promises?

2010-10-20 Thread no-reply
Forum: Cfengine Help Subject: Re: Is it possible to turn off informational reporting associated with commands type promises? Author: bbomgardner Link to topic: https://cfengine.com/forum/read.php?3,18797,18800#msg-18800 Check out the contain compound body which has an option 'no_output'. ___