Forum: Cfengine Help
Subject: Re: Help reproducing storage promise error
Author: zzamboni
Link to topic: https://cfengine.com/forum/read.php?3,18671,18685#msg-18685
This seems to be the same bug we discussed some time ago on this thread:
https://cfengine.com/forum/read.php?3,18152,18157
Sadly, I
Forum: Cfengine Help
Subject: Re: Release candidate for 3.1.0 (source code only)
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,18597,18684#msg-18684
I'm noticing some client server authentication failures that I did not see
prior to running the release candidate. Anyon
Forum: Cfengine Help
Subject: Re: Don't restart service when config file was not modified
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,18680,18683#msg-18683
You want the 'define' option in cf2.
http://watson-wilson.ca/blog/cfcookbook.html#SECTION00013
ht
Forum: Cfengine Help
Subject: Re: Don't restart service when config file was not modified
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,18680,18682#msg-18682
I'm not Cfengine2 user and never been, but I'm pretty sure such possibility
exists in Cfengine2, otherwise i
Forum: Cfengine Help
Subject: Re: Force variables to be defined after classes?
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,18656,18681#msg-18681
I'd rather rewrite your example as follows:
vars:
"machines_list" slist => {
readstringlist
Forum: Cfengine Help
Subject: Don't restart service when config file was not modified
Author: vhoebel
Link to topic: https://cfengine.com/forum/read.php?3,18680,18680#msg-18680
Hey,
we are using Cfengine 2 (we will swtich to version 3 someday..) and are using
Cfengine to modify config files, lik
Forum: Cfengine Help
Subject: Re: Force variables to be defined after classes?
Author: msvob...@linkedin.com
Link to topic: https://cfengine.com/forum/read.php?3,18656,18679#msg-18679
The example that prompted this thread to begin with in the first place...
vars:
core_guppy::
"machin
Forum: Cfengine Help
Subject: Re: Force variables to be defined after classes?
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,18656,18678#msg-18678
Mike,
your example is kinda abstract. Show me some real world thing which requires
variables after classes definition,
Forum: Cfengine Help
Subject: Re: Force variables to be defined after classes?
Author: msvob...@linkedin.com
Link to topic: https://cfengine.com/forum/read.php?3,18656,18677#msg-18677
A simple example I can give is when I am in a agent bundle, and I want to
define a variable one-way-or-the-other
Forum: Cfengine Help
Subject: Re: Cfengine Help: problem restarting services
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,18674,18676#msg-18676
See page four here:
https://cfengine.com/inside/document/SpecialTopic_Modules.pdf
___
Forum: Cfengine Help
Subject: Re: Force variables to be defined after classes?
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,18656,18675#msg-18675
Well, let's try to guess some usecases.
Looking through promises I've written already, I can define following cases:
[
Forum: Cfengine Help
Subject: Re: "Hourly" splayclass for daily staggered script execution; some
nodes not executing
Author: dfriedman
Link to topic: https://cfengine.com/forum/read.php?3,18359,18672#msg-18672
Thanks so much for spelling that out. I'll give it a shot.
___
One simple solution would be to define an array that maps service to process...
What I show below is a quick kludge (if /etc/init.d/bind fails, then try
/etc/init.d/bind9), but you could be neater and make something that uses
isvariable(). Or you could simply define an array element for *every
Dan,
I have done the same thing over and over and applied this to the concept of
bundle libraries and it works well
Bottom line no need to change the ordering...
Marco
-Original Message-
From: help-cfengine-boun...@cfengine.org
[mailto:help-cfengine-boun...@cfengine.org] On Be
Forum: Cfengine Help
Subject: Help reproducing storage promise error
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,18671,18671#msg-18671
Could some folks please try to reproduce my reported bug. Since the CF folks
can't reproduce the error the bug has been closed.
http
Jesse-
A very simple solution to your problem is to define the classes in a common
bundle that gets executed before the agent bundle the defines the variables.
It isn't convoluted, but it might be counterintuitive if you're used to a
procedural language (and Cfengine is declarative, not proced
Forum: Cfengine Help
Subject: problem restarting services
Author: cell
Link to topic: https://cfengine.com/forum/read.php?3,18669,18669#msg-18669
Hi,
I've got problem with restarting some services. If the name of service
(/etc/init.d/service) and running process is the same, then everything is
Forum: Cfengine Help
Subject: Re: Force variables to be defined after classes?
Author: mark
Link to topic: https://cfengine.com/forum/read.php?3,18656,18668#msg-18668
I did not really see what Jesse was saying because it was cloaked in general
negativity. CHanging the order of classes and vars in
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,18667#msg-18667
Perhaps we can post some simple yet practical examples where it would be useful
to have classes evaluated before vars. Tog
Forum: Cfengine Help
Subject: Re: Cfengine Help: Re: cf-serverd on local zone dies running cf-agent
from global zone
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,18662,18666#msg-18666
Is it possible that some of the policy running on the global zone killed the
server
Forum: Cfengine Help
Subject: Re: Force variables to be defined after classes?
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,18656,18665#msg-18665
By the way, I'm going to agree with Jesse here: variables are much more
class-dependant than visa verse. On rare cases
On Thu, Oct 07, 2010 at 11:55:13AM -0400, no-re...@cfengine.com wrote:
>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 yo
Forum: Cfengine Help
Subject: Re: Cfengine Help: Re: cf-serverd on local zone dies running cf-agent
from global zone
Author: steffenf
Link to topic: https://cfengine.com/forum/read.php?3,18662,18663#msg-18663
Ok.
Thanks. I am pretty newbie when it comes to cfengine. Any clues would be most
help
It looks as though Cfengine is being killed by something. It could be an error
in your policy.
On 10/08/2010 09:32 AM, no-re...@cfengine.com wrote:
> Forum: Cfengine Help
> Subject: Re: cf-serverd on local zone dies running cf-agent from global zone
> Author: steffenf
> Link to topic: https://cf
Forum: Cfengine Help
Subject: Re: 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,18661#msg-18661
Hi again!
The backtrace is included below with a "cont" after the SIGTERM. I hope this
can help. I have n
25 matches
Mail list logo