Cfengine Help: Re: how do you restart a process only after .conf update?

2010-12-28 Thread no-reply
Forum: Cfengine Help Subject: Re: how do you restart a process only after .conf update? Author: Sal Link to topic: https://cfengine.com/forum/read.php?3,19969,19971#msg-19971 I think I've come up with my own solution. At least the ntpd process is no longer auto restarting every 20 minutes. I stil

Cfengine Help: Re: Cfengine Help: How to configure a client machine to contact the policy server and downloads updates?

2010-12-28 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: How to configure a client machine to contact the policy server and downloads updates? Author: David Brazzeal Link to topic: https://cfengine.com/forum/read.php?3,19909,19970#msg-19970 Never mind. I edited this below section in the site.cf on the po

Cfengine Help: how do you restart a process only after .conf update?

2010-12-28 Thread no-reply
Forum: Cfengine Help Subject: how do you restart a process only after .conf update? Author: Sal Link to topic: https://cfengine.com/forum/read.php?3,19969,19969#msg-19969 We manage changes to several .conf files via cfengine and want to restart the daemon only after each new .conf file is pushed

Cfengine Help: Re: Cfengine Help: How to configure a client machine to contact the policy server and downloads updates?

2010-12-28 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: How to configure a client machine to contact the policy server and downloads updates? Author: David Brazzeal Link to topic: https://cfengine.com/forum/read.php?3,19909,19968#msg-19968 Thanks for your responses! On my test policy server, I edited t

Cfengine Help: Re: Cfengine Help: Inherit shell variables in "commands:"

2010-12-28 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Inherit shell variables in "commands:" Author: berntjernberg Link to topic: https://cfengine.com/forum/read.php?3,19966,19967#msg-19967 Hi, As I understand it the variables are "imported" to cfengine with module but I need the variables to stay in

Cfengine Help: Re: Inherit shell variables in "commands:"

2010-12-28 Thread no-reply
Forum: Cfengine Help Subject: Re: Inherit shell variables in "commands:" Author: berntjernberg Link to topic: https://cfengine.com/forum/read.php?3,19964,19965#msg-19965 I found information about "environment" but I want the variables to be local to the current bundle. Regards /Bernt Jernberg _

Re: Cfengine Help: Inherit shell variables in "commands:"

2010-12-28 Thread Daniel V. Klein
You want a commands promise that is a "module". See http://www.cfengine.org/manuals/cf3-reference.html#module-in-commands. You can't exactly inherit shell variables, but this is pretty close to what you said you need, and probably what you really want. -Dan On Dec 28, 2010, at 10:05 AM, no-re

Cfengine Help: Inherit shell variables in "commands:"

2010-12-28 Thread no-reply
Forum: Cfengine Help Subject: Inherit shell variables in "commands:" Author: berntjernberg Link to topic: https://cfengine.com/forum/read.php?3,19964,19964#msg-19964 Hi all, I need to assign 10 variables in shell before I run a script. How can I inherit shell variables in a commands-section? I h