Cfengine Help: Re: Lengthy in-line bash commands

2011-05-30 Thread no-reply
Forum: Cfengine Help Subject: Re: Lengthy in-line bash commands Author: charming88 Link to topic: https://cfengine.com/forum/read.php?3,22195,22280#msg-22280 Let me say, incidentally, official timberland boots that some of you may say, Well, that's all right, Senator, that's your e

Cfengine Help: Re: Lengthy in-line bash commands

2011-05-30 Thread no-reply
Forum: Cfengine Help Subject: Re: Lengthy in-line bash commands Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,22195,22275#msg-22275 So, basically you're doing create base source directory either update the existing source or check the source out depending on whether o

RE: Lengthy in-line bash commands

2011-05-24 Thread Scott Dobner
ngine@cfengine.org Subject: Re: Lengthy in-line bash commands On Tue, May 24, 2011 at 10:15 AM, Scott Dobner wrote: > We actually need these packages for 6 or 7 different UNIX operating systems, > so packaging them wouldn't be much help. We know each of these releases > produces a sta

Re: Lengthy in-line bash commands

2011-05-24 Thread Aleksey Tsalolikhin
On Tue, May 24, 2011 at 10:15 AM, Scott Dobner wrote: > We actually need these packages for 6 or 7 different UNIX operating systems, > so packaging them wouldn't be much help.  We know each of these releases > produces a stable build, so it is preferred that we continue to just build > these st

RE: Cfengine Help: Re: RE: Lengthy in-line bash commands

2011-05-24 Thread Scott Dobner
We base our deployment of 3rd party software on the BSD model and build everything from source. That was in place long before I got here so now I am trying to modernize the way we keep track of packages that must be built from source using cfengine. I definitely see the value in creating a rep

Cfengine Help: Re: RE: Lengthy in-line bash commands

2011-05-24 Thread no-reply
Forum: Cfengine Help Subject: Re: RE: Lengthy in-line bash commands Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,22195,22219#msg-22219 Are all the packages similar in their build procedure? One idea would be to create a new package_method http://www.cfengine.org/manuals

Re: Lengthy in-line bash commands

2011-05-24 Thread michoski
On 5/24/11 9:55 AM, "Aleksey Tsalolikhin" wrote: > On Tue, May 24, 2011 at 9:49 AM, Scott Dobner wrote: >> Well it turned out to be a problem with the formatting cfengine was looking >> for.  What we are trying to do is allow for very easy building of 3rd party >> software that we have to build f

RE: Lengthy in-line bash commands

2011-05-24 Thread Scott Dobner
eksey Tsalolikhin [mailto:atsaloli.t...@gmail.com] Sent: Tuesday, May 24, 2011 12:55 PM To: Scott Dobner Cc: help-cfengine@cfengine.org Subject: Re: Lengthy in-line bash commands On Tue, May 24, 2011 at 9:49 AM, Scott Dobner wrote: > Well it turned out to be a problem with the formatting cfen

Re: Lengthy in-line bash commands

2011-05-24 Thread Aleksey Tsalolikhin
On Tue, May 24, 2011 at 9:49 AM, Scott Dobner wrote: > Well it turned out to be a problem with the formatting cfengine was looking > for.  What we are trying to do is allow for very easy building of 3rd party > software that we have to build from source.  Now what I am doing is creating > small

RE: Lengthy in-line bash commands

2011-05-24 Thread Scott Dobner
ikhin [mailto:atsaloli.t...@gmail.com] Sent: Tuesday, May 24, 2011 11:46 AM To: Scott Dobner Cc: help-cfengine@cfengine.org Subject: Re: Lengthy in-line bash commands On Tue, May 24, 2011 at 5:30 AM, Scott Dobner wrote: > Here it is.  I think I am starting to see the problem with this.  I don

Re: Lengthy in-line bash commands

2011-05-24 Thread Aleksey Tsalolikhin
On Tue, May 24, 2011 at 5:30 AM, Scott Dobner wrote: > Here it is.  I think I am starting to see the problem with this.  I don't > have a lot of shell scripting experience, and I think the script I sent out > previously is not exactly a shell script. > > bundle agent install_xinstall > { >  clas

RE: Lengthy in-line bash commands

2011-05-24 Thread Scott Dobner
exists("/usr/local/src/xinstall"); commands: !xinstall_exists:: ""; } -Original Message- From: Aleksey Tsalolikhin [mailto:atsaloli.t...@gmail.com] Sent: Monday, May 23, 2011 4:57 PM To: Scott Dobner Cc: help-cfengine@cfengine.org Subject: Re: Lengthy in-

Re: Lengthy in-line bash commands

2011-05-23 Thread Aleksey Tsalolikhin
     touch $@ > > -Original Message- > From: help-cfengine-boun...@cfengine.org > [mailto:help-cfengine-boun...@cfengine.org] On Behalf Of Erlend Leganger > Sent: Monday, May 23, 2011 1:12 PM > To: help-cfengine@cfengine.org > Subject: Re: Lengthy in-line bash command

Cfengine Help: Re: RE: Lengthy in-line bash commands

2011-05-23 Thread no-reply
Forum: Cfengine Help Subject: Re: RE: Lengthy in-line bash commands Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,22195,22201#msg-22201 Scott, Please preferably post a self-contained example of cfengine code that you are trying, including the errors that you get. I think

RE: Lengthy in-line bash commands

2011-05-23 Thread Scott Dobner
\ cd xinstall && make all && make install) touch $@ -Original Message- From: help-cfengine-boun...@cfengine.org [mailto:help-cfengine-boun...@cfengine.org] On Behalf Of Erlend Leganger Sent: Monday, May 23, 2011 1:12 PM To: help-cfengine@cfengine.or

Re: Lengthy in-line bash commands

2011-05-23 Thread Erlend Leganger
Give us more to work with: Provide an example of a "lengthy piece" that you want cf3 to execute; what did your command promise look like and what was the error message etc. - Erlend On 23 May 2011 16:25, Scott Dobner wrote: > Hi, > I am porting some bash scripts into cfengine and am having troub