Cfengine Help: Re: installing particular package versions

2010-10-07 Thread no-reply
Forum: Cfengine Help Subject: Re: installing particular package versions Author: Metabaron Link to topic: https://cfengine.com/forum/read.php?3,18643,18648#msg-18648 *If* you are using a Debian based distribution it might be a good idea to take a look at apt-pinning. This will make sure that the

Cfengine Help: cf-serverd on local zone dies running cf-agent from global zone

2010-10-07 Thread no-reply
Forum: Cfengine Help Subject: cf-serverd on local zone dies running cf-agent from global zone Author: steffenf Link to topic: https://cfengine.com/forum/read.php?3,18649,18649#msg-18649 Hi all! I use solaris 10 on SPARC. I am in the process of setting up cfengine (it's nice! :)). In that process

Cfengine Help: Re: cf-serverd on local zone dies running cf-agent from global zone

2010-10-07 Thread no-reply
Forum: Cfengine Help Subject: Re: cf-serverd on local zone dies running cf-agent from global zone Author: mark Link to topic: https://cfengine.com/forum/read.php?3,18649,18650#msg-18650 Would you be good enough to bake a backtrace for us, please? See http://www.cfengine.org/pages/troubleshoot __

Cfengine Help: Re: I'm exploiting usemodule. There has got to be a better way to define global classes?

2010-10-07 Thread no-reply
Forum: Cfengine Help Subject: Re: I'm exploiting usemodule. There has got to be a better way to define global classes? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18623,18651#msg-18651 Metabaron, do you setup the file cfclass.conf yourself? If so how is that differe

Cfengine Help: Re: I'm exploiting usemodule. There has got to be a better way to define global classes?

2010-10-07 Thread no-reply
Forum: Cfengine Help Subject: Re: I'm exploiting usemodule. There has got to be a better way to define global classes? Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,18623,18652#msg-18652 Well, actually, my approach differs a bit. First, my servers are grouped into

Cfengine Help: Re: I'm exploiting usemodule. There has got to be a better way to define global classes?

2010-10-07 Thread no-reply
Forum: Cfengine Help Subject: Re: I'm exploiting usemodule. There has got to be a better way to define global classes? Author: msvob...@linkedin.com Link to topic: https://cfengine.com/forum/read.php?3,18623,18653#msg-18653 So, maybe the question I should be asking Cfengine is an incredibly

Cfengine Help: Re: I'm exploiting usemodule. There has got to be a better way to define global classes?

2010-10-07 Thread no-reply
Forum: Cfengine Help Subject: Re: I'm exploiting usemodule. There has got to be a better way to define global classes? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18623,18654#msg-18654 Cfengine is complicated enough that it should be treated just as you would treat c

Force variables to be defined after classes?

2010-10-07 Thread Mike Svoboda
I’m trying to define a variable if it matches a class. The below code doesn’t work. $ cat test.cf body common control { bundlesequence => { testit }; } bundle agent testit { vars: class_to_test_on:: "testfile" string => "/var/tmp/testfile";

Cfengine Help: Re: I'm exploiting usemodule. There has got to be a better way to define global classes?

2010-10-07 Thread no-reply
Forum: Cfengine Help Subject: Re: I'm exploiting usemodule. There has got to be a better way to define global classes? Author: msvob...@linkedin.com Link to topic: https://cfengine.com/forum/read.php?3,18623,18655#msg-18655 I agree. I'm currently pointing all master policy servers for all envir

Cfengine Help: Re: Force variables to be defined after classes?

2010-10-07 Thread no-reply
Forum: Cfengine Help Subject: Re: Force variables to be defined after classes? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18656,18657#msg-18657 On rare occasions normal ordering can hamper you. When this happens to me a usually go back and look at what I'm trying to

Re: Cfengine Help: Re: I'm exploiting usemodule. There has got to be abetter way to define global classes?

2010-10-07 Thread Mike Hoskins
On 10/7/10 8:25 AM, "no-re...@cfengine.com" wrote: > I agree. > > I'm currently pointing all master policy servers for all environments at the > same point in my SVN tree. The only way for me to apply a policy on "DEV" or > "STG" environments would be to modify the classes in the policies themse

Restarting service after changing the config

2010-10-07 Thread Witteveen, Tim
How do you tell CFEngine to restart a service if it had to update the config? (copied below: roughly, since I don't have access to email on the same system). What I have successfully copies the sshd_config, but I can't seem to find how to restart sshd. Thanks, TimW bundle agent CPPredhat_c_5_

Cfengine Help: Re: Restarting service after changing the config

2010-10-07 Thread no-reply
Forum: Cfengine Help Subject: Re: Restarting service after changing the config Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,18659,18660#msg-18660 You need to define the class when the promise is repaired (i.e. if the file was modified). For example: "/etc/ssh/sshd_config