Re: [Cfengine] Configuration and Compilation Question

2006-03-28 Thread Steve Wray
Bas van der Vlies wrote: On Mar 28, 2006, at 5:50 PM, Brian E. Seppanen wrote: 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. What i do is download the source debian package from

Re: [Cfengine] Configuration and Compilation Question

2006-03-28 Thread Bas van der Vlies
On Mar 28, 2006, at 5:50 PM, Brian E. Seppanen wrote: 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. What i do is download the source debian package from debian archive and repla

Re: program structuring

2006-03-28 Thread Roy Marantz
Amazing. it works like a charm! Thanks. (now why didn't I think of that :-) Roy On Tue, 28 Mar 2006, Brendan Strejcek wrote: > Date: Tue, 28 Mar 2006 11:55:07 -0600 > From: Brendan Strejcek <[EMAIL PROTECTED]> > To: Roy Marantz <[EMAIL PROTECTED]> > Cc: help-cfengine@cfengine.org > Subje

Re: program structuring

2006-03-28 Thread Roy Marantz
I guess I don't understand what you mean (or visa versa). What you describe seems like my "Another idea of having a cfagent.conf style file for each conf file" idea. I have ~30 conf files I want to be able do this to. Roy On Tue, 28 Mar 2006, Mark Burgess wrote: > Date: Tue, 28 Mar 2006 19:43

Re: program structuring

2006-03-28 Thread Brendan Strejcek
Roy Marantz wrote: > I find that I can > cat cf.common cf.stuff | cfagent -f - > but that seems wrong too. Why? How about something like this: #!/bin/sh cat

Re: program structuring

2006-03-28 Thread Mark Burgess
Roy Marantz wrote: I'd like be able to run my cfengine conf files as part of a big run and also individually. i.e. cfagent.conf will import all the files for a big run and I can use cfagent -f to run a conf file individually. My problem is that I can't think of, nor find, a way to combine my

program structuring

2006-03-28 Thread Roy Marantz
I'd like be able to run my cfengine conf files as part of a big run and also individually. i.e. cfagent.conf will import all the files for a big run and I can use cfagent -f to run a conf file individually. My problem is that I can't think of, nor find, a way to combine my common stuff while

Re: Configuration and Compilation Question

2006-03-28 Thread Brendan Strejcek
Brian E. Seppanen wrote: > 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

Re: Setting variables based on classes in an imported file

2006-03-28 Thread Brendan Strejcek
Josh Smith wrote: > PK == Paul Krizak <[EMAIL PROTECTED]> > > PK> As far as I know, cfengine does imports *last*. That means that despite > PK> your import statement being at the top of your file, cfgroups.conf isn't > PK> actually imported until after the containing file is parsed. > PK> > PK

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: Setting variables based on classes in an imported file

2006-03-28 Thread Josh Smith
PK == Paul Krizak <[EMAIL PROTECTED]> PK> As far as I know, cfengine does imports *last*. That means that despite PK> your import statement being at the top of your file, cfgroups.conf isn't PK> actually imported until after the containing file is parsed. PK> PK> Luckily, imports *are* imported