Re: program structuring

2006-04-10 Thread Paul Krizak
Simply putting a shebang on the file doesn't fix the issue of importing a "cf.common" of some sort *before* running the script in question. The quickie bash script that Brendan suggests addresses that problem. Paul Krizak 5900 E. Ben White Blvd. MS 625 Advanced Micro De

Re: program structuring

2006-03-28 Thread Roy Marantz
c: help-cfengine@cfengine.org > Subject: Re: program structuring > X-Spam-Status: No, hits=0.1 tagged_above=-50.0 required=6.3 tests=TW_QV > X-Spam-Level: > > Roy Marantz wrote: > > > I find that I can > >cat cf.common cf.stuff | cfagent -f - > > bu

Re: program structuring

2006-03-28 Thread Roy Marantz
ue, 28 Mar 2006 19:43:45 +0200 > From: Mark Burgess <[EMAIL PROTECTED]> > To: Roy Marantz <[EMAIL PROTECTED]> > Cc: help-cfengine@cfengine.org > Subject: Re: program structuring > X-Spam-Status: No, hits=0.0 tagged_above=-50.0 required=6.3 tests= > X-Spam-Level: &

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