Segmentation fault dealing with "links"

2006-05-04 Thread Trask
Let me preface this with the fact that I may not be providing all the information needed to figure this one out. I'm pretty new to cfengine, so just let me know if there is something I can run or output I can share that will help. Ok, the problem: cfengine is segfaulting when it hits the "links"

rehash of ReturnsZero and redirecting output

2006-05-04 Thread kallen
hello sorry to rehash an issue, but i'm still not able to get this to work in spite of trying things suggested in previous threads. i've read these threads: 'Problems with ExecResult & ReturnsZero in 2.1.18' http://marc2.theaimsgroup.com/?t=11358272931&r=1&w=2 'ReturnsZero and redirecting ou

pipelines in ExecShellResult and such

2006-05-04 Thread Brian McQueen
I am having a very difficult time getting the simplest shell one-liners going within ExecShellResult. Here is an example: prev_host = ( ExecShellResult(/bin/hostname -f | /bin/sed -n 's/\..*//p' | /bin/awk -F- '{print $1 "-" $2-1 }') ) I've found that I can't seem to have any form of a quote in

Re: rehash of ReturnsZero and redirecting output

2006-05-04 Thread Mark Burgess
[EMAIL PROTECTED] wrote: hello sorry to rehash an issue, but i'm still not able to get this to work in spite of trying things suggested in previous threads. i've read these threads: 'Problems with ExecResult & ReturnsZero in 2.1.18' http://marc2.theaimsgroup.com/?t=11358272931&r=1&w=2 'Ret