Re: Master policy files on NFS

2010-01-27 Thread Mark Nelson
michoski wrote: Hello Can I just clarify something, although the master files are on NFS, they are being served to the clients via cf-serverd. It is when cf-serverd tries to access the NFS directory that I see issues. Mark. On 1/27/10 12:08 PM, "Mark Nelson" wrote: Just a quick question

Re: Master policy files on NFS

2010-01-27 Thread Christopher Browne
Mark Nelson writes: > Just a quick question, I want to store the master policy files on an NFS > share. When I do this I get key exchange issues. If I move the same > files to local storage everything works. Is there any explicit code > that stops the master policy files being stored on NFS?

Re: Master policy files on NFS

2010-01-27 Thread michoski
On 1/27/10 12:08 PM, "Mark Nelson" wrote: > Just a quick question, I want to store the master policy files on an NFS > share. When I do this I get key exchange issues. If I move the same > files to local storage everything works. Is there any explicit code > that stops the master policy files b

Master policy files on NFS

2010-01-27 Thread Mark Nelson
Hello Just a quick question, I want to store the master policy files on an NFS share. When I do this I get key exchange issues. If I move the same files to local storage everything works. Is there any explicit code that stops the master policy files being stored on NFS? Thanks Mark. _

Re: [cfengine2] Editing multiple files

2010-01-27 Thread michoski
On 1/27/10 7:04 AM, "B. Alexander" wrote: > Here is the output of editfiles: > > * >  Main Tree Sched: editfiles pass 1 @ Wed Jan 27 09:31:23 2010 > * > > Begin

Re: cf-promises seg fault help.

2010-01-27 Thread Mark Burgess
It is completely new. M Bas van der Vlies wrote: > Mark, > > Just curious. I found in the cfengine.org site a link to a bug tracking > system on cfengine.com. Is this bug tracking system used? Then it should also > be easier to find it on the cfengine.com website. > > Another suggestion is

Re: cf-promises seg fault help.

2010-01-27 Thread Bas van der Vlies
Mark, Just curious. I found in the cfengine.org site a link to a bug tracking system on cfengine.com. Is this bug tracking system used? Then it should also be easier to find it on the cfengine.com website. Another suggestion is a better Changelog. More detail what kind of bugs there are fixe

Re: cf-promises seg fault help.

2010-01-27 Thread Mark Burgess
Can you check this on a more recent version instead of pushing the work onto us? Also, please use the bug tracking, not the help discussion nwat...@symcor.com wrote: > Running Community 3.0.2 on Redhat 5.3, 32 bit. > > cf-promises -x in gdb > > Start was not at 31 -> 47 > -> BlockTextMatch -

cf-promises seg fault help.

2010-01-27 Thread NWatson
Running Community 3.0.2 on Redhat 5.3, 32 bit. cf-promises -x in gdb Start was not at 31 -> 47 -> BlockTextMatch - ok 5. Testing promise attribute completeness [New Thread 0xb7f3c6d0 (LWP 27088)] Program received signal SIGSEGV, Segmentation fault. 0x08086dcb in cfPS (level=cf_error, status=119

Re: [cfengine2] Editing multiple files

2010-01-27 Thread B. Alexander
Here is the output of editfiles: * Main Tree Sched: editfiles pass 1 @ Wed Jan 27 09:31:23 2010 * Begin editing /etc/skel/.bashrc End editing /etc/skel/.bashrc

Re: [cfengine2] Editing multiple files

2010-01-27 Thread NWatson
help-cfengine-boun...@cfengine.org wrote on 2010-01-26 18:14:56: > > # "Live" .bashrc > { home/.bashrc > AppendIfNoSuchLine ". /etc/foo" > } What does verbose output say? I'm guessing that this promise will be ignored since, being a relative path, Cf cannot determine where t

Re: Apple script in cfengine files

2010-01-27 Thread Nakarin Phooripoom
Or what I have done is to create a applescript with AppleScript Editor and execute the script in cfengine like the following; commands: darwin:: "/usr/bin/osascript /tmp/applescript.scpt"; Cheers, --Nakarin On Jan 27, 2010, at 10:12 AM, Tim Cutts wrote: > > On 26 Jan 2010, at 8:11 pm, J

Re: Apple script in cfengine files

2010-01-27 Thread Tim Cutts
On 26 Jan 2010, at 8:11 pm, Janet Bass wrote: > Has anyone used Applescripts scripts in cfengine? > > I am not finding a lot of documentation about Cfengine and Mac OS X You can make applescripts trivially executable from the command line, just like any shell script, so you should be able to r

Re: Standard library: apt package method

2010-01-27 Thread Mark Burgess
And Jonathan is still standing, while the others are cowering in their corners! (I shall investigate this idea. It seems like a good solution.) -- the referee > It is nice to be able to limit the frequency of updates (ie, via > ifelapsed, if one has a separate promise in a "commands" section).

Re: Apple script in cfengine files

2010-01-27 Thread Mark Burgess
Hi Janet, cfengine supports all kinds of things on the Mac, but I have never heard of these scripts. I am not a Mac user myself, can you tell us about how they work? How are they different from a perl script, say? If they support the #! syntax then there is nothing to do, right? If they don't t

Re: How to avoid spurious connection failure messages, when some other server responds?

2010-01-27 Thread Mark Burgess
As far as I can see, these messages only occur in "inform" or "verbose" modes? So get get what you ask for ;-) Diego Zamboni wrote: > No, the "problem" is that the host is down, but in this case I don't > care. My definitions look like this: > >"phost" slist => { "192.168.58.133", "127.0.0.1