pushing files from cfagent clients to cfservd server

2006-07-07 Thread Brian E. Seppanen
I think I should know this answer, but I do not. I have a set of servers lets call them group a I need to take a set of files from a directory on each host in group a and send it to backup host b. backup host b is a cfservd server, group a is a bunch of hosts running cfagent with no cfservd.

Re: 2.1.20 Resolve New Lines

2006-04-27 Thread Brian E. Seppanen
On Thu, 27 Apr 2006, Mark Burgess wrote: Have you set the string iterator to be a space? I doubt it, because I'm not sure where that option would be set or how to set it. Where in the docs would that be referenced? Brian Seppanen 608.826.1464

2.1.20 Resolve New Lines

2006-04-27 Thread Brian E. Seppanen
The following leads to the below output with cfengine-2.1.20 resolve: linux:: 192.168.1.10 192.168.2.10 192.168.3.10 "# Append Search Domain" "search test.domain" domain domain.name nameserver 192.168.1.10

Re: Process Defined Classes Not Global? (2.1.20)

2006-04-20 Thread Brian E. Seppanen
Using the included cf.test with a running atd daemon, it does not remove the services, but it does shut it down and the class is defined and shellcommands comes immediately after processes with no qualifications. Now if processes is specified in the cf prior to shellcommands it will operate co

Re: Process Defined Classes Not Global? (2.1.20)

2006-04-19 Thread Brian E. Seppanen
On Wed, 19 Apr 2006, Ed Brown wrote: Here is an excerpt from an exchange last year about this: --- On Wed, 2005-01-05 at 06:34, Christian Pearce wrote: cfagent.conf control: actionsequence = ( copy shellcommands shellcommands.secondrun ) In my experience, if you

Re: Process Defined Classes Not Global? (2.1.20)

2006-04-19 Thread Brian E. Seppanen
Hi Folks: What I'm trying to do is identify unwanted processes, and define a class that will remove their init scripts from the rcx.d directories so they don't get restarted on boot as well as shutting them down at that time. So the scenario I use for the cf.test included is I start atd. Th

Process Defined Classes Not Global? (2.1.20)

2006-04-19 Thread Brian E. Seppanen
I have the following pseudocode actionsequence = ( processes.pre copy directories links files editfiles packages tidy shellcommands processes ) AddInstallables = ( "servicesremove" ) shellcommands: servicesremove:: "/usr/bin/env PATH=/sbin:/usr/sbin:/b

Re: cfengine configure error

2006-03-30 Thread Brian E. Seppanen
On Thu, 30 Mar 2006, [EMAIL PROTECTED] wrote: I configured with BerkeleyDB.3.3 and it worked. But then I did "make" and it stopped with the following error message: bison: cannot open file `/opt/share/bison/m4sugar/m4sugar.m4': No such file or directory make[2]: *** [cfparse.c] Error 1 I have

Re: cfengine configure error

2006-03-30 Thread Brian E. Seppanen
On Thu, 30 Mar 2006, svetlana stoianova wrote: Hello I am trying to compile cfengine-2.1.19p1 on solaris 9 and I get the following error during configure : checking for BerkeleyDB location in /usr/local... /usr/local checking Berkeley DB Version... configure: error: This release of cfengine

Configuration and Compilation Question

2006-03-28 Thread Brian E. Seppanen
Somewhat of an offtopic question, but I ask this because I'm trying to create a debian package for distributing out a cfengine upgrade from 2.1.13 to 2.1.19p1. I've compiled cfengine with the following ./configure --bindir=/root/debs/cfengine/var/cfengine/bin --sbindir=/root/debs/cfengine/var

Re: cfengine-2.1.19p1 (17-18) linux sparc64 problems (solved)

2006-03-22 Thread Brian E. Seppanen
On Wed, 22 Mar 2006, Mark Burgess wrote: Mark Burgess wrote: Brian E. Seppanen wrote: This will compile 2.1.19p1 for me and operate seemingly normally at least using cfagent -pvf. More testing before I can deploy. I don't understand why CF_IFREQ wouldn't work?Can anyo

Re: cfengine-2.1.19p1 (17-18) linux sparc64 problems (solved)

2006-03-22 Thread Brian E. Seppanen
This will compile 2.1.19p1 for me and operate seemingly normally at least using cfagent -pvf. More testing before I can deploy. I don't understand why CF_IFREQ wouldn't work?Can anyone help me understand what is causing the problem. --- nameinfo.c 2006-02-17 13:58:34.0 -0600 ++

cfengine-2.1.19p1 (17-18) linux sparc64 problems (long)

2006-03-22 Thread Brian E. Seppanen
I have two servers that are Sun Netra 1405's that run debian linux 3.1. (I have tested and reproduced the same problems on a third).I've compiled cfengine on the hosts themselves, and they have a valid build environment.I have successfully built other binaries, including the cfengine-2.

ReturnsZero and redirecting output

2006-03-21 Thread Brian E. Seppanen
I have the following code classes: host_groupa:: usera= ( ReturnsZero(/usr/bin/getent passwd usera) ) shellcommands: host_groupa.!usera:: "/usr/sbin/useradd -g usera -d /export/home/usera -s /usr/local/bin/scponly -m -k /etc/skel usera" So what that wo