question on file creation (V2)

2009-12-08 Thread Tom Van de Velde
Hi, I'm facing a problem where i need to construct a file with content. (where is the problem here :-) ) Well the content is based on the hostname ... So I have a input.txt with : server1 command 1 option 1 server1 command 2 option 4 server1 command 3 option 4 server2 command 1 option 4 server2

Re: Non-interactive apt-get package installation

2009-12-08 Thread Robert Markula
Hi Tim, Tim Cutts wrote: > Isn't in the first one that's wrong, not the second? If the quotes have > made it through to the command line (because it wasn't executed with a > shell) then the value of DPkg::Options will include the quotes, which > isn't correct. I suspect this is a case of whether

Re: Virtual interfaces

2009-12-08 Thread Mark Burgess
Ouch. Perhaps we can make a configuration setting to ignore interfaces. Bryan Ramirez wrote: > Hi, > > I'm running cfengine 3.0.2 on Redhat Linux (4.4 thru 5.3). Some of our > servers have a large number of virtual interfaces (between 300 and > 1200). I'm finding that cf-agent can take anywhere

Re: Virtual interfaces

2009-12-08 Thread michoski
Have you tried /etc/hosts entries for each virtual interface (this works for us), or possibly forcing cfengine to bind to the primary interface? On 12/8/09 7:04 AM, "Bryan Ramirez" wrote: > Hi, > > I'm running cfengine 3.0.2 on Redhat Linux (4.4 thru 5.3). Some of our > servers have a large num

Re: classes in cfengine 2.2.10

2009-12-08 Thread Edward F. Brown
On Mon, December 7, 2009 8:13 pm, Daniel Bidwell wrote: > Purging private classes from context update > - Deleting roonwit_andrews_edu > - Deleting weekdays > - Deleting x86_linux_servers > - Deleting mail_servers > > roonwit is defined as being in both x86_linux_servers and mail_servers. > Why

promise reported kept even when not.

2009-12-08 Thread NWatson
Conside a promise that confirms file ownership and permissions. That is three things to check. Primise is that /tmp/foo should be nwatson:bin and 0600. owner is wrong: [r...@unxxhd01 inputs]# ls -l /tmp/foo -rw--- 1 root bin 0 Dec 7 14:13 /tmp/foo [r...@unxxhd01 inputs]# cf-agent -Kf ./bar.

Re: path to openssl for cfengine

2009-12-08 Thread Eystein Måløy Stenberg
Hi, I have seen this on a machine with two versions of Berkeley DB installed. If you do too, read on. If berkeley db 4.5 is found, CF_OLD_DB gets defined, and Cfengine uses the berkeley db 4.5 api. But if berkeley db 4.7 is installed also, Cfengine may try link to these functions. Thus we try to

Re: path to openssl for cfengine

2009-12-08 Thread mashtin . bakir
Thanks, that got me further. It required a few more dependancies including bison and flex. It now runs configure fine and most(?) of the make but fails at OpenDB with a warning about dbp. I'm getting a similar error as listed in https://cfengine.org/pipermail/help-cfengine/2009-June/005534.htm

Re: tidy deleting files when told to warn only.

2009-12-08 Thread NWatson
If a promise is linking warn actions are also ignored and links are created. Sincerely, -- Neil Watson 416-673-3465 CONFIDENTIALITY WARNING This communication, including any attachments, is for the exclusive use of addressee and may contain proprietary and/or confidential information. If you

Virtual interfaces

2009-12-08 Thread Bryan Ramirez
Hi, I'm running cfengine 3.0.2 on Redhat Linux (4.4 thru 5.3). Some of our servers have a large number of virtual interfaces (between 300 and 1200). I'm finding that cf-agent can take anywhere between 15 to 40 minutes to run on these hosts depending on how many virtual interfaces are on the machi

Re: path to openssl for cfengine

2009-12-08 Thread NWatson
You might need the openssl-devel package to be installed. Sincerely, -- Neil Watson 416-673-3465 CONFIDENTIALITY WARNING This communication, including any attachments, is for the exclusive use of addressee and may contain proprietary and/or confidential information. If you are not the intende

path to openssl for cfengine

2009-12-08 Thread mashtin . bakir
I compiled cfengine 3.0.2 on a Suse 10.2 box without any problem. This machine is my server and is working fine as are most of the clients. One of my clients is SLES 11.0 Altho it's the same architecture, I figured I either need to or at least should recompile on this box. I've installed BerkeleyDB

Re: Non-interactive apt-get package installation

2009-12-08 Thread Tim Cutts
On 7 Dec 2009, at 10:42 pm, Robert Markula wrote: > which cause cf-agent to hang since the underlying process expects a > user > input. Looking at the processes, I can see that in the second line > (see > below), the quotes are missing around "--force-confdef" and > "--force-confold": > > htt