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

2010-10-06 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: Metabaron Link to topic: https://cfengine.com/forum/read.php?3,18623,18626#msg-18626 -- You don't need to define global classes. -- You think you’re some kind of Jedi, wa

Cfengine Help: Re: Release candidate for 3.1.0 (source code only)

2010-10-06 Thread no-reply
Forum: Cfengine Help Subject: Re: Release candidate for 3.1.0 (source code only) Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,18597,18627#msg-18627 Well, since I'm not Cfengine developer, it's not me whom to ask for. From my humble opinion, you can use the same rep

Cfengine Help: Re: Release candidate for 3.1.0 (source code only)

2010-10-06 Thread no-reply
Forum: Cfengine Help Subject: Re: Release candidate for 3.1.0 (source code only) Author: mark Link to topic: https://cfengine.com/forum/read.php?3,18597,18628#msg-18628 Same report is great, but please send the policy code that causes the fault, and remember the backtrace ___

Cfengine Help: Re: Cfagent hangs on 'copy'

2010-10-06 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfagent hangs on 'copy' Author: danci1973 Link to topic: https://cfengine.com/forum/read.php?3,18586,18629#msg-18629 mark Wrote: --- > This sounds like a bug that used to be in the > server. I would recommend yo

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

2010-10-06 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,18630#msg-18630 Why would you need to do such a thing? Can you give a practical example?

Cfengine Help: Re: Cfagent hangs on 'copy'

2010-10-06 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfagent hangs on 'copy' Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18586,18631#msg-18631 You might have to upgrade the server also. ___ Help-cfengine mailing list Help-cfengine@cfengine.org

Cfengine Help: Edit region of file - remove existing content

2010-10-06 Thread no-reply
Forum: Cfengine Help Subject: Edit region of file - remove existing content Author: kholloway Link to topic: https://cfengine.com/forum/read.php?3,18633,18633#msg-18633 All, I'm trying to edit a file of any kind that has a start/end delimiter and I want to remove all the text between the start/e

Cfengine Help: Re: Edit region of file - remove existing content

2010-10-06 Thread no-reply
Forum: Cfengine Help Subject: Re: Edit region of file - remove existing content Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18633,18634#msg-18634 Have you tried using different start and end delimiters? ___ Help-cfengine mai

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

2010-10-06 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,18635#msg-18635 I'm trying to limit execution of policies without having to modify the po

Cfengine Help: Re: Removing packages w/o specifying version, package_method yum, RHEL5

2010-10-06 Thread no-reply
Forum: Cfengine Help Subject: Re: Removing packages w/o specifying version, package_method yum, RHEL5 Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,18632,18636#msg-18636 Jim, You may want to define package_delete_convention instead, so that the name-only specification app

Cfengine Help: Re: Edit region of file - remove existing content

2010-10-06 Thread no-reply
Forum: Cfengine Help Subject: Re: Edit region of file - remove existing content Author: kholloway Link to topic: https://cfengine.com/forum/read.php?3,18633,18637#msg-18637 Just tried with this code and a different start/ending delim. Outcome is identical, everything between the selected region ge

Cfengine Help: Re: Edit region of file - remove existing content

2010-10-06 Thread no-reply
Forum: Cfengine Help Subject: Re: Edit region of file - remove existing content Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18633,18638#msg-18638 I've not done this type of editing before. You might try just inserting text in your region to see if that works as expec

Cfengine Help: Re: "Hourly" splayclass for daily staggered script execution; some nodes not executing

2010-10-06 Thread no-reply
Forum: Cfengine Help Subject: Re: "Hourly" splayclass for daily staggered script execution; some nodes not executing Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18359,18640#msg-18640 bundle agent test { classes: "rand" dist => { "2", "3", "5

Cfengine Help: Re: Edit region of file - remove existing content

2010-10-06 Thread no-reply
Forum: Cfengine Help Subject: Re: Edit region of file - remove existing content Author: kholloway Link to topic: https://cfengine.com/forum/read.php?3,18633,18641#msg-18641 Good suggestion, I have already done that before I posted my original request. :) The insert works as expected, it's the del

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

2010-10-06 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: Metabaron Link to topic: https://cfengine.com/forum/read.php?3,18623,18647#msg-18647 I actually recognize this problem. I use the regline function to check if a file /et

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

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

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

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

2010-10-08 Thread no-reply
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

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

2010-10-08 Thread no-reply
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

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

2010-10-08 Thread no-reply
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

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

2010-10-08 Thread no-reply
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

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

2010-10-08 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,18667#msg-18667 Perhaps we can post some simple yet practical examples where it would be useful to have classes evaluated before vars. Tog

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

2010-10-08 Thread no-reply
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

Cfengine Help: problem restarting services

2010-10-08 Thread no-reply
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

Cfengine Help: Help reproducing storage promise error

2010-10-08 Thread no-reply
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

Cfengine Help: Re: "Hourly" splayclass for daily staggered script execution; some nodes not executing

2010-10-08 Thread no-reply
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. ___

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

2010-10-08 Thread no-reply
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: [

Cfengine Help: Re: Cfengine Help: problem restarting services

2010-10-08 Thread no-reply
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 ___

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

2010-10-08 Thread no-reply
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

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

2010-10-08 Thread no-reply
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,

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

2010-10-08 Thread no-reply
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

Cfengine Help: Don't restart service when config file was not modified

2010-10-08 Thread no-reply
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

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

2010-10-08 Thread no-reply
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

Cfengine Help: Re: Don't restart service when config file was not modified

2010-10-08 Thread no-reply
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

Cfengine Help: Re: Don't restart service when config file was not modified

2010-10-08 Thread no-reply
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

Cfengine Help: Re: Release candidate for 3.1.0 (source code only)

2010-10-08 Thread no-reply
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

Cfengine Help: Re: Help reproducing storage promise error

2010-10-08 Thread no-reply
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

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

2010-10-09 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: matter Link to topic: https://cfengine.com/forum/read.php?3,18623,18686#msg-18686 How about tagging the SVN tree for DEV or STG for each file, export into two separate t

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

2010-10-10 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,18687#msg-18687 I want to get more granular than just testing an environment. I also don

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

2010-10-10 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,18688#msg-18688 I spent 3 days trying to get this to work. This policy will execute with

Cfengine Help: Syntax checking without promise analyze

2010-10-10 Thread no-reply
Forum: Cfengine Help Subject: Syntax checking without promise analyze Author: absinfo_...@yahoo.com Link to topic: https://cfengine.com/forum/read.php?3,18689,18689#msg-18689 Dear community, I wonder if there is a possibility in having syntax check only for a particular promise file. I guess wha

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

2010-10-11 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: matter Link to topic: https://cfengine.com/forum/read.php?3,18623,18690#msg-18690 I want to get more granular than just testing an environment. I also don't want to main

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

2010-10-12 Thread no-reply
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,18692#msg-18692 Thanks for all your help! I had this policy set: - host:: "cf-serverd"

Cfengine Help: Re: Stopping cf-execd?

2010-10-12 Thread no-reply
Forum: Cfengine Help Subject: Re: Stopping cf-execd? Author: absinfo_...@yahoo.com Link to topic: https://cfengine.com/forum/read.php?3,18691,18693#msg-18693 Hi Jim, Have you checked crontab? /Eduard ___ Help-cfengine mailing list Help-cfengine@cfengi

Cfengine Help: Re: Cfengine Help: problem restarting services

2010-10-12 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: problem restarting services Author: cell Link to topic: https://cfengine.com/forum/read.php?3,18674,18694#msg-18694 thanks guys, it helped a lot, and now it's working like charm, like I imagine ___ Help

Cfengine Help: Best practice in edit_lines

2010-10-12 Thread no-reply
Forum: Cfengine Help Subject: Best practice in edit_lines Author: pieterb Link to topic: https://cfengine.com/forum/read.php?3,18695,18695#msg-18695 There a certain files where I want to make sure there is only one definition of a certain attribute. For example, in /etc/nsswitch.conf, I want only

Cfengine Help: Re: Best practice in edit_lines

2010-10-12 Thread no-reply
Forum: Cfengine Help Subject: Re: Best practice in edit_lines Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,18695,18696#msg-18696 Well, from my point of view this is not critical. However, if you do care so far, you always can set up a file like /etc/nsswitch.conf.c

Cfengine Help: variable definition according to classes....

2010-10-12 Thread no-reply
Forum: Cfengine Help Subject: variable definition according to classes Author: bglomm Link to topic: https://cfengine.com/forum/read.php?3,18697,18697#msg-18697 sorry this should be quite simple, still I seem to miss something :-/ I simply need to define two groups of hosts: "inhouse" and "ou

Cfengine Help: Re: Cfengine Help: Best practice in edit_lines

2010-10-12 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Best practice in edit_lines Author: pieterb Link to topic: https://cfengine.com/forum/read.php?3,18698,18699#msg-18699 Alright, so no ugly workarounds are needed. Thanks for the help! ___ Help-cfengine ma

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

2010-10-12 Thread no-reply
Forum: Cfengine Help Subject: Re: Force variables to be defined after classes? Author: Bas van der Vlies Link to topic: https://cfengine.com/forum/read.php?3,18656,18700#msg-18700 I am facing the same problem, maybe there is another solution for my problem with variables, eg: bundle common g {

Cfengine Help: Re: Don't restart service when config file was not modified

2010-10-13 Thread no-reply
Forum: Cfengine Help Subject: Re: Don't restart service when config file was not modified Author: vhoebel Link to topic: https://cfengine.com/forum/read.php?3,18680,18701#msg-18701 Thank you! ___ Help-cfengine mailing list Help-cfengine@cfengine.org htt

Cfengine Help: Re: Cfengine 3.1.0 beta2 - final release candidate

2010-10-13 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine 3.1.0 beta2 - final release candidate Author: babudro Link to topic: https://cfengine.com/forum/read.php?3,18702,18704#msg-18704 An RPM SPEC file would be nice to have included. ___ Help-cfengine mailing list H

Cfengine Help: Re: Release candidate for 3.1.0 (source code only)

2010-10-13 Thread no-reply
Forum: Cfengine Help Subject: Re: Release candidate for 3.1.0 (source code only) Author: babudro Link to topic: https://cfengine.com/forum/read.php?3,18597,18705#msg-18705 I had a server authentication failure on one client when I upgraded from 3.0.5 to v3.1b1. I noticed that I had two keys with

Cfengine Help: Best way to exclude host(s) from keeping promisses

2010-10-13 Thread no-reply
Forum: Cfengine Help Subject: Best way to exclude host(s) from keeping promisses Author: hristob Link to topic: https://cfengine.com/forum/read.php?3,18706,18706#msg-18706 Hi, what will be the best way to temporary exclude certain host(s) from keeping cfengine promises without stopping cf-engine

Cfengine Help: Re: Best way to exclude host(s) from keeping promisses

2010-10-13 Thread no-reply
Forum: Cfengine Help Subject: Re: Best way to exclude host(s) from keeping promisses Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18706,18707#msg-18707 Can you give more specific criteria? ___ Help-cfengine mailing list Help-

Cfengine Help: Re: Best way to exclude host(s) from keeping promisses

2010-10-13 Thread no-reply
Forum: Cfengine Help Subject: Re: Best way to exclude host(s) from keeping promisses Author: hristob Link to topic: https://cfengine.com/forum/read.php?3,18706,18708#msg-18708 Actually no... The criteria is hostname/ip address. I would like to still have cf-engine working and updating itself(not

Cfengine Help: Re: Best way to exclude host(s) from keeping promisses

2010-10-13 Thread no-reply
Forum: Cfengine Help Subject: Re: Best way to exclude host(s) from keeping promisses Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18706,18709#msg-18709 You can limit this by time window or ifelapsed. Some use touched files and have the agent check the files and set a

Cfengine Help: Re: Best way to exclude host(s) from keeping promisses

2010-10-13 Thread no-reply
Forum: Cfengine Help Subject: Re: Best way to exclude host(s) from keeping promisses Author: hristob Link to topic: https://cfengine.com/forum/read.php?3,18706,18710#msg-18710 Thanks, My idea was to use classes and bundlesequence... Like this: disabled:: bundlesequence { "update"}; !disabled:

Cfengine Help: Re: Best way to exclude host(s) from keeping promisses

2010-10-13 Thread no-reply
Forum: Cfengine Help Subject: Re: Best way to exclude host(s) from keeping promisses Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18706,18711#msg-18711 At a high level there is no reason why that should not work. ___ Help-cfe

Cfengine Help: Perms set to 0 during copy

2010-10-13 Thread no-reply
Forum: Cfengine Help Subject: Perms set to 0 during copy Author: bbomgardner Link to topic: https://cfengine.com/forum/read.php?3,18716,18716#msg-18716 This code copies the contents of the directory and then sets the permissions on the copied files to 0. If I don't request any perms, the files r

Cfengine Help: Re: Perms set to 0 during copy

2010-10-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Perms set to 0 during copy Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18716,18718#msg-18718 I would set the permissions in the promise. This makes the promise both easier to understand and more self contained. _

Cfengine Help: Re: OT (maybe) how to detect virtual machines

2010-10-14 Thread no-reply
Forum: Cfengine Help Subject: Re: OT (maybe) how to detect virtual machines Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18717,18719#msg-18719 If you look at the hard classes the agent defines you'll see if it detects anything virtual. I think that the latest versions

Cfengine Help: Re: Perms set to 0 during copy

2010-10-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Perms set to 0 during copy Author: mark Link to topic: https://cfengine.com/forum/read.php?3,18716,18721#msg-18721 What version, system is this? ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine

Cfengine Help: Re: Perms set to 0 during copy

2010-10-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Perms set to 0 during copy Author: bbomgardner Link to topic: https://cfengine.com/forum/read.php?3,18716,18724#msg-18724 I certainly agree and try to set permissions explicitly whenever I can. However in a particular instance, I have lots of subdirectories and

Cfengine Help: Re: Perms set to 0 during copy

2010-10-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Perms set to 0 during copy Author: mark Link to topic: https://cfengine.com/forum/read.php?3,18716,18725#msg-18725 This is probably an anomaly. Please upgrade to beta 2 or current svn. We are approaching a release soon. __

Cfengine Help: Re: Perms set to 0 during copy

2010-10-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Perms set to 0 during copy Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18716,18726#msg-18726 I'm using static linked binaries. So far they have saved me a lot of time and effort. Some have reported problems with daemons crashing but

Cfengine Help: Re: Perms set to 0 during copy

2010-10-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Perms set to 0 during copy Author: bbomgardner Link to topic: https://cfengine.com/forum/read.php?3,18716,18728#msg-18728 Thanks! I will grab the latest and recompile. I was almost hoping that I missed some documentation about file copying because this behavior

Cfengine Help: Re: OT (maybe) how to detect virtual machines

2010-10-14 Thread no-reply
Forum: Cfengine Help Subject: Re: OT (maybe) how to detect virtual machines Author: bbomgardner Link to topic: https://cfengine.com/forum/read.php?3,18717,18730#msg-18730 Yes, dmidecode is very handy this way. ___ Help-cfengine mailing list Help-cfengin

Cfengine Help: Re: Populate a class using an slist fails?

2010-10-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Populate a class using an slist fails? Author: msvob...@linkedin.com Link to topic: https://cfengine.com/forum/read.php?3,18712,18731#msg-18731 Here's why this might be useful bundle common global { vars: "outgoing_mail_servers" slist => { "host1", "host2", "

Cfengine Help: Re: Populate a class using an slist fails?

2010-10-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Populate a class using an slist fails? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18712,18732#msg-18732 In this example I see no reason why vars are needed. bundle common global { classes: "outgoing_smtp" or => { "host1", "host2", "ho

Cfengine Help: Re: Perms set to 0 during copy

2010-10-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Perms set to 0 during copy Author: mark Link to topic: https://cfengine.com/forum/read.php?3,18716,18733#msg-18733 Although I have not seen this behaviour myself, I can imagine it is the result of a very specific and temporary change that was made in response to

Cfengine Help: Building cfengine on AIX

2010-10-14 Thread no-reply
Forum: Cfengine Help Subject: Building cfengine on AIX Author: technoronin Link to topic: https://cfengine.com/forum/read.php?3,18734,18734#msg-18734 It has been several years since I have built any open source software on AIX, so I am very rusty. Here's an except of the output where errors star

Cfengine Help: Re: Building cfengine on AIX

2010-10-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Building cfengine on AIX Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,18734,18735#msg-18735 Clearly, you have no PCRE installed. Perhaps, you can find it here: http://www.perzl.org/aix/index.php?n=Main.Pcre ___

Cfengine Help: Re: Cfengine Help: Re: Populate a class using an slist fails?

2010-10-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Re: Populate a class using an slist fails? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18736,18737#msg-18737 http://www.cfengine.org/manuals/cf3-reference.html#classes-in-common-promises The examples there show classes

Cfengine Help: Re: Building cfengine on AIX

2010-10-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Building cfengine on AIX Author: technoronin Link to topic: https://cfengine.com/forum/read.php?3,18734,18738#msg-18738 PCRE is installed and the configure script finds it. It wasn't installed initially, so I pulled the package down from IBM and installed it. _

Cfengine Help: Re: Building cfengine on AIX

2010-10-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Building cfengine on AIX Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18734,18739#msg-18739 I've had all kinds of trouble having to compile for a multitude of systems including RHEL 64 and 32, Suse, AIX, Solaris SPARC and Solaris x86.

Cfengine Help: Cfengine minimal configuraton example

2010-10-14 Thread no-reply
Forum: Cfengine Help Subject: Cfengine minimal configuraton example Author: sakis Link to topic: https://cfengine.com/forum/read.php?3,18740,18740#msg-18740 Hello to all, I am a newcomer to cfengine. I am searching the web for simple, quick & dirty cfengine configurations ( I prefer the version

Cfengine Help: Input directory change mid-run

2010-10-14 Thread no-reply
Forum: Cfengine Help Subject: Input directory change mid-run Author: dan Link to topic: https://cfengine.com/forum/read.php?3,18741,18741#msg-18741 What happens if the cfengine inputs directory gets changed while an agent is running? We're looking at putting our cfengine repository in subversion

Cfengine Help: Re: Cfengine minimal configuraton example

2010-10-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine minimal configuraton example Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18740,18742#msg-18742 If you are new then don't start with version 2. There is nothing to be gained there as you'll have to learn the new syntax for ve

Cfengine Help: Re: Input directory change mid-run

2010-10-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Input directory change mid-run Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18741,18743#msg-18743 I usually keep my svn working copies in a masterfiles location (e.g. /var/cf-masterfiles/repo1/trunk). Then I have the agent download in

Cfengine Help: Re: Cfengine minimal configuraton example

2010-10-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine minimal configuraton example Author: sakis Link to topic: https://cfengine.com/forum/read.php?3,18740,18744#msg-18744 Thanks a lot neilhwatson, I will try it, it looks that it will do the job. Regarding the version, I was asked about v. 2 because v. 2 is

Cfengine Help: Re: Cfengine minimal configuraton example

2010-10-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine minimal configuraton example Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18740,18745#msg-18745 If you register at cfengine.com you can get packages from there. ___ Help-cfengine mai

Cfengine Help: Re: Release candidate for 3.1.0 (source code only)

2010-10-14 Thread no-reply
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,18748#msg-18748 Here's sample of the authentication errors I'm seeing now. cf3 Allowing 10.129.148.10 to connect without (re)checking ID

Cfengine Help: Re: Release candidate for 3.1.0 (source code only)

2010-10-14 Thread no-reply
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,18749#msg-18749 A slightly different authentication error. cf3 Spawning new thread... cf3 Allowing 10.129.98.8 to connect without (re)chec

Cfengine Help: Re: Input directory change mid-run

2010-10-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Input directory change mid-run Author: dan Link to topic: https://cfengine.com/forum/read.php?3,18741,18750#msg-18750 So, say you're adding a new input file to your cfengine configuration. You include it in cfagent.conf and place it in the inputs directory. Now i

Cfengine Help: Re: Input directory change mid-run

2010-10-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Input directory change mid-run Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18741,18751#msg-18751 I do not recommend ever altering the inputs directory by hand. Similarly the masterfiles directory should only be altered in the same ma

Cfengine Help: Re: Input directory change mid-run

2010-10-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Input directory change mid-run Author: dan Link to topic: https://cfengine.com/forum/read.php?3,18741,18752#msg-18752 I'm not suggesting doing it by hand. I'm wondering if there's a race condition between running 'svn update' in your working directory agents pull

Cfengine Help: Re: Input directory change mid-run

2010-10-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Input directory change mid-run Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18741,18753#msg-18753 This should not happen. Either the svn updates are done planned between agent runs or the agent itself is configured to run the update.

Cfengine Help: Re: Input directory change mid-run

2010-10-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Input directory change mid-run Author: megamic Link to topic: https://cfengine.com/forum/read.php?3,18741,18754#msg-18754 dan Wrote: --- > I'm not suggesting doing it by hand. I'm wondering > if there's a race co

Cfengine Help: Re: Release candidate for 3.1.0 (source code only)

2010-10-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Release candidate for 3.1.0 (source code only) Author: eystein Link to topic: https://cfengine.com/forum/read.php?3,18597,18755#msg-18755 We have made some patches that might fix issues like these in the latest svn (I believe they are part of 3.1.0 beta2). Try th

Cfengine Help: Re: Cfengine Help: Re: Cfengine minimal configuraton example

2010-10-15 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Re: Cfengine minimal configuraton example Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18760,18762#msg-18762 Alas I don't think they keep Solaris packages but Sunfreeware does. ___

Cfengine Help: segfault using edit_line with 3.1.0b2

2010-10-15 Thread no-reply
Forum: Cfengine Help Subject: segfault using edit_line with 3.1.0b2 Author: babudro Link to topic: https://cfengine.com/forum/read.php?3,18764,18764#msg-18764 I've run into an issue that perhaps is a bug. I have compiled 3.1.0b2 on two 64-bit machines and one 32-bit, all running RHEL5. The 64-b

<    3   4   5   6   7   8   9   10   11   12   >