Cfengine Help: Re: Question about keys and trust

2010-04-01 Thread forum
Forum: Cfengine Help Subject: Re: Question about keys and trust Author: mlebel Link to topic: https://cfengine.com/forum/read.php?3,16739,16762#msg-16762 Neil, I thought of your suggestion but if my understanding of key exchange is correct I would still end up with mistrust since on the first ke

Cfengine Help: Re: Question about keys and trust

2010-04-01 Thread forum
Forum: Cfengine Help Subject: Re: Question about keys and trust Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,16739,16761#msg-16761 Now I think I see. It sounds to me as though you have a cfservd process running on each cluster node. You want a client to pull from th

Re: CentOS and lsb-release call

2010-04-01 Thread milo...@gmail.com
> Apr  1 17:54:11 eth0 cf-execd[29952]:  Couldn't run /usr/bin/lsb_release > Apr  1 17:54:11 eth0 cf-execd[29952]:   !!! System error for execv: > "No such file or directory" > Is it possible to eliminate those complaints somehow? Other option would be to depend on that package. A proper Requi

Cfengine Help: Re: Question about keys and trust

2010-04-01 Thread forum
Forum: Cfengine Help Subject: Re: Question about keys and trust Author: mlebel Link to topic: https://cfengine.com/forum/read.php?3,16739,16759#msg-16759 Neil, Clearly I am not getting my message out, sorry for that. So here a simpler attempt: I have a management host that needs to pull files

CentOS and lsb-release call

2010-04-01 Thread Сева Глущенко
Hello guys, The cf-execd from the cfengine-community-3.0.4-1.centos5.i386.rpm complains to /var/log/messages: Apr 1 17:53:11 eth0 cf-execd[29850]: !!! System error for execv: "No such file or directory" Apr 1 17:54:11 eth0 cf-execd[29950]: Couldn't run /usr/bin/lsb_release Apr 1 17:54:11 et

Cfengine Help: Re: Question about keys and trust

2010-04-01 Thread forum
Forum: Cfengine Help Subject: Re: Question about keys and trust Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,16739,16757#msg-16757 I'm afraid your explanation is too vague for me to fully understand. Are you saying that you want the agent on host A to copy files from

Cfengine Help: Re: Question about keys and trust

2010-04-01 Thread forum
Forum: Cfengine Help Subject: Re: Question about keys and trust Author: mlebel Link to topic: https://cfengine.com/forum/read.php?3,16739,16756#msg-16756 Neil, Ok so lets step back: What I need is for a host to copy specific files from a host that is running a known application accessible by a

Cfengine Help: Re: Question about keys and trust

2010-04-01 Thread forum
Forum: Cfengine Help Subject: Re: Question about keys and trust Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,16739,16755#msg-16755 I do not recommend your proposal. It will break trust. Try: https://cfengine.org/pipermail/help-cfengine/2006-May/000224.html Again, I'm

Cfengine Help: Re: Question about keys and trust

2010-04-01 Thread forum
Forum: Cfengine Help Subject: Re: Question about keys and trust Author: mlebel Link to topic: https://cfengine.com/forum/read.php?3,16739,16754#msg-16754 Neil, I just tried searching for nat and nothing came out. Can you provided me with your proposition? Mine is as follow:(untested and I am n

Cfengine Help: Re: Question about keys and trust

2010-04-01 Thread forum
Forum: Cfengine Help Subject: Re: Question about keys and trust Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,16739,16753#msg-16753 There might be ways to do what you desire. I worry that this will break the trust mechanism. Further I suspect there is another way but,

Cfengine Help: svn down?

2010-04-01 Thread forum
Forum: Cfengine Help Subject: svn down? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,16751,16751#msg-16751 http://svn.iu.hio.no/viewvc is has been timing out for the past 40 minutes or so. ___ Help-cfengine mailing list Help

RE: Deletion of directory doesn't work?

2010-04-01 Thread Assarsson, Emil
Ok, I placed a bug report (101) on it and use the workaround. Best regards, Emil Assarsson emil.assars...@sonyericsson.com Phone: +46 (0)10 8017422 -Original Message- From: help-cfengine-boun...@cfengine.org [mailto:help-cfengine-boun...@cfengine.org] On Behalf Of Nakarin Phooripo

RE: Cfengine Help: Re: Question about keys and trust

2010-04-01 Thread Lebel, Marco
Neil, Yes I am referring to a serviceGuard packaged application. I refer to the VIP because I need to copy files from the host where the application is currently running. i.e. Since the host that requires the data does not know the physical host of the application and has no way of finding it

Cfengine Help: Re: Question about keys and trust

2010-04-01 Thread forum
Forum: Cfengine Help Subject: Re: Question about keys and trust Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,16739,16749#msg-16749 Are you referring to a virtual IP address, common in clusters? I don't know why you would use the VIP for Cf versus the node's unique IP.

Cfengine Help: Re: Cfengine Help: Re: How do you start cfengine?

2010-04-01 Thread forum
Forum: Cfengine Help Subject: Re: Cfengine Help: Re: How do you start cfengine? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,16736,16748#msg-16748 Another simple yet resilient method would be to place cf-execd in inittab to respawn as required including at boot time.

Re: Deletion of directory doesn't work?

2010-04-01 Thread Nakarin Phooripoom
IMO; it should work. Anyway I haven't tried to remove a specific folder by a promiser yet. What I did was to pass a slist to remove multiple directories at once so the following would work for you. # inputs => { "cfengine_stdlib.cf" }; bundle agent rmdirtest { files: "/tmp"

RE: Question about keys and trust

2010-04-01 Thread Lebel, Marco
Erlend, To clarify the application startup script adds an IP address to the network interface card on the host where it is started. So the host can be reach by its assigned DNS entry and by the application IP. That address is map in the DNS with a well know name for users to use. Of course t

Re: Deletion of directory doesn't work?

2010-04-01 Thread Michael Potter
Hmm I tried this on 3.0.4 just to be sure...but it's not working for me either. I'm sure this used to work on some earlier version...and that it was fixed more succinctly in the current version, because this has been raised before. Perhaps not... On Thu, Apr 1, 2010 at 9:46 PM, Michael Potter wro

Re: Deletion of directory doesn't work?

2010-04-01 Thread Michael Potter
You need to end the dir name in /. On 01/04/2010 9:44 PM, "Assarsson, Emil" wrote: Hi, I can't remove an empty directory. I think that is should be a simple procedure but it doesn't work. What on earth do I do wrong? - bundle agent rmdirtest { files: "/tmp/junkdir"

Deletion of directory doesn't work?

2010-04-01 Thread Assarsson, Emil
Hi, I can't remove an empty directory. I think that is should be a simple procedure but it doesn't work. What on earth do I do wrong? - bundle agent rmdirtest { files: "/tmp/junkdir" delete => delete_all; } body delete delete_all { dirlinks => "delete";

Re: Question about keys and trust

2010-04-01 Thread Erlend Leganger
On 31 March 2010 23:37, Lebel, Marco wrote: > I have applications that have IP addresses and DNS names associated with > them. These applications can run on any number of physical hosts but on > only one at the time. Whenever I try to copy files across the network using > cfengine specifying t