Cfengine Help: Re: Using cf-report

2010-08-17 Thread no-reply
Forum: Cfengine Help Subject: Re: Using cf-report Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17931,17933#msg-17933 body reporter control { reports => { "audit", "performance", "all_locks", "active_locks", "hashes", "classes",

Cfengine Help: Re: Command execution for each copied file

2010-08-17 Thread no-reply
Forum: Cfengine Help Subject: Re: Command execution for each copied file Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17932,17934#msg-17934 Define a class for when the promise is repaired. When that class is active then run a command.

Cfengine Help: Re: Command execution for each copied file

2010-08-17 Thread no-reply
Forum: Cfengine Help Subject: Re: Command execution for each copied file Author: nico Link to topic: https://cfengine.com/forum/read.php?3,17932,17935#msg-17935 I thought of doing something like bundle agent interfaces { ... classes => classes => onrepair("$(this.promiser)") ... } body

Cfengine Help: Re: Command execution for each copied file

2010-08-17 Thread no-reply
Forum: Cfengine Help Subject: Re: Command execution for each copied file Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17932,17936#msg-17936 It seems like the class definition won't help much. You can declare smth like files: "/etc/foobar/" copy_from =

Cfengine Help: Re: Command execution for each copied file

2010-08-17 Thread no-reply
Forum: Cfengine Help Subject: Re: Command execution for each copied file Author: nico Link to topic: https://cfengine.com/forum/read.php?3,17932,17937#msg-17937 Like I said before, if I use Seva's suggestion I just get this: --- cf3 ?> defining promise result class $(this.promiser)_changed --- So

Cfengine Help: Re: Using cf-report

2010-08-17 Thread no-reply
Forum: Cfengine Help Subject: Re: Using cf-report Author: daveseff Link to topic: https://cfengine.com/forum/read.php?3,17931,17938#msg-17938 Thank you very much. ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/lis

Cfengine Help: Re: Purging error with Solaris

2010-08-17 Thread no-reply
Forum: Cfengine Help Subject: Re: Purging error with Solaris Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17930,17939#msg-17939 FYI, I think this is a bug and have submitted a report. https://cfengine.com/bugtracker/view.php?id=201 _

Cfengine Help: Re: Command execution for each copied file

2010-08-17 Thread no-reply
Forum: Cfengine Help Subject: Re: Command execution for each copied file Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17932,17940#msg-17940 nico Wrote: > I would like to execute a script on each file that > is created/changed/deleted like this "myscript.sh > file_that_h

Cfengine Help: Re: Too many cf-execd processes running

2010-08-17 Thread no-reply
Forum: Cfengine Help Subject: Re: Too many cf-execd processes running Author: daveseff Link to topic: https://cfengine.com/forum/read.php?3,17902,17941#msg-17941 Bump ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman

Cfengine Help: Singlecopy Nirvana for cfengine3

2010-08-17 Thread no-reply
Forum: Cfengine Help Subject: Singlecopy Nirvana for cfengine3 Author: nico Link to topic: https://cfengine.com/forum/read.php?3,17942,17942#msg-17942 Are there instructions available somewhere to achieve the same as described in The Singlecopy Nirvana article in the wiki, but with cfengine 3? h

Cfengine Help: Re: cf-serverd segfaulting

2010-08-18 Thread no-reply
Forum: Cfengine Help Subject: Re: cf-serverd segfaulting Author: JarleB Link to topic: https://cfengine.com/forum/read.php?3,17924,17946#msg-17946 Are you running statically linked binaries by any chance ? - Jarle ___ Help-cfengine mailing list Help-

Cfengine Help: Re: Singlecopy Nirvana for cfengine3

2010-08-18 Thread no-reply
Forum: Cfengine Help Subject: Re: Singlecopy Nirvana for cfengine3 Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17942,17947#msg-17947 I don't see why not. I skimmed the article and it seems to be one just has to define some variables before the files promise is proces

Cfengine Help: Re: beginners headache

2010-08-18 Thread no-reply
Forum: Cfengine Help Subject: Re: beginners headache Author: JarleB Link to topic: https://cfengine.com/forum/read.php?3,17928,17948#msg-17948 1) Is there something wrong with this approach? Or is it advisable just to create one file for each class, like web.cf? This is the way of cfengine, you

Cfengine Help: Re: cf-agent segfaulting

2010-08-18 Thread no-reply
Forum: Cfengine Help Subject: Re: cf-agent segfaulting Author: JarleB Link to topic: https://cfengine.com/forum/read.php?3,17904,17949#msg-17949 [*] You shold probably use www.cfengine.com/bugtracker for reporting bugs. [*] You will probably be asked to at least upgrade to the latest version a

Cfengine Help: Re: beginners headache

2010-08-18 Thread no-reply
Forum: Cfengine Help Subject: Re: beginners headache Author: sebastian Link to topic: https://cfengine.com/forum/read.php?3,17928,17950#msg-17950 JarleB, thank you very much for your detailed answer. I can see a little clearer now. The background of my fourth question are mainly security conce

Cfengine Help: empty slist for zero-item expansion

2010-08-19 Thread no-reply
Forum: Cfengine Help Subject: empty slist for zero-item expansion Author: werkt Link to topic: https://cfengine.com/forum/read.php?3,17951,17951#msg-17951 Trying to use the following somewhat simple syntax to define an empty list (in reality I'm deciding between a set of definitions for this list

Cfengine Help: Re: empty slist for zero-item expansion

2010-08-19 Thread no-reply
Forum: Cfengine Help Subject: Re: empty slist for zero-item expansion Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17951,17952#msg-17952 Speaking in Cfengine's terms, your example must be rewritten as follows: bundle agent commands { vars: certain_class::

Cfengine Help: Re: Wildcard in files stanza on copy

2010-08-19 Thread no-reply
Forum: Cfengine Help Subject: Re: Wildcard in files stanza on copy Author: kholloway Link to topic: https://cfengine.com/forum/read.php?3,17887,17953#msg-17953 I have an unknown node name per host on about 30 hosts. Without knowing the node name that's in the first portion of the directory struct

Cfengine Help: Re: Wildcard in files stanza on copy

2010-08-19 Thread no-reply
Forum: Cfengine Help Subject: Re: Wildcard in files stanza on copy Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17887,17954#msg-17954 Your example is still abstract enough to get the full clearance. Perhaps, if your node name is its hostname, you can do as simple a

Cfengine Help: Re: Command execution for each copied file

2010-08-20 Thread no-reply
Forum: Cfengine Help Subject: Re: Command execution for each copied file Author: nico Link to topic: https://cfengine.com/forum/read.php?3,17932,17955#msg-17955 Looks like other people are having trouble with this.promiser not expanding: https://cfengine.com/forum/read.php?3,16461,16461#msg-16461

Cfengine Help: Reporting on expired password

2010-08-20 Thread no-reply
Forum: Cfengine Help Subject: Reporting on expired password Author: JarleB Link to topic: https://cfengine.com/forum/read.php?3,17956,17956#msg-17956 I ended up with the following code, which works, in order to set a class i a password had expired (in this case the root user) I found no way of

Cfengine Help: Re: Reporting on expired password

2010-08-20 Thread no-reply
Forum: Cfengine Help Subject: Re: Reporting on expired password Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17956,17957#msg-17957 There are lt and gt functions but I don't see anything for adding ints and assigning to another int. Another option would be to use a she

Cfengine Help: Re: Reporting on expired password

2010-08-20 Thread no-reply
Forum: Cfengine Help Subject: Re: Reporting on expired password Author: JarleB Link to topic: https://cfengine.com/forum/read.php?3,17956,17958#msg-17958 There are lt and gt functions but I'm using that. I don't see anything for adding ints and assigning to another int. Another option woul

Cfengine Help: Re: Reporting on expired password

2010-08-20 Thread no-reply
Forum: Cfengine Help Subject: Re: Reporting on expired password Author: mark Link to topic: https://cfengine.com/forum/read.php?3,17956,17959#msg-17959 I just added functions sum(list) product(list) to Cfengine 3.1.0a1 ___ Help-cfengine mailing list H

Cfengine Help: Re: Reporting on expired password

2010-08-20 Thread no-reply
Forum: Cfengine Help Subject: Re: Reporting on expired password Author: JarleB Link to topic: https://cfengine.com/forum/read.php?3,17956,17960#msg-17960 I just added functions sum(list) product(list) to Cfengine 3.1.0a1 Good news ! Thanks Mark. ___

Cfengine Help: Graphing time spent in execution?

2010-08-20 Thread no-reply
Forum: Cfengine Help Subject: Graphing time spent in execution? Author: msvob...@linkedin.com Link to topic: https://cfengine.com/forum/read.php?3,17961,17961#msg-17961 Is there a open source utility that will trace the execution of cf-agent and graph how much time that each step of the bundleseq

Cfengine Help: Re: Graphing time spent in execution?

2010-08-20 Thread no-reply
Forum: Cfengine Help Subject: Re: Graphing time spent in execution? Author: mark Link to topic: https://cfengine.com/forum/read.php?3,17961,17962#msg-17962 This is indeed a feature of Nova, and you have performance monitoring possibilities built into the policy language. ___

Cfengine Help: Tokyocabinet for AIX build

2010-08-20 Thread no-reply
Forum: Cfengine Help Subject: Tokyocabinet for AIX build Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17964,17964#msg-17964 I'm trying to build tokyocabinet on AIX 5.2 for Cfengine. After a successful ./configure of tokyocabinet a make returns this error: tcuti

Cfengine Help: Re: Cfengine3 / hierarchical copy

2010-08-23 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine3 / hierarchical copy Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,17771,17967#msg-17967 Christian, I had seen the "Singlecopy Nirvana" page before and thought briefly about how to implement it for cf3, but your post gave me the

Cfengine Help: Re: Cfengine3 / hierarchical copy

2010-08-23 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine3 / hierarchical copy Author: nico Link to topic: https://cfengine.com/forum/read.php?3,17771,17968#msg-17968 Diego, that is just fabulous, exactly what I need :) I just have one question, is there anyway to suppress the line " -> Skipping single-copie

Cfengine Help: Re: Multi-homed clients and authentication

2010-08-23 Thread no-reply
Forum: Cfengine Help Subject: Re: Multi-homed clients and authentication Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17966,17969#msg-17969 http://www.cfengine.org/manuals/cf3-reference.html#bindtointerface-in-agent http://www.cfengine.org/manuals/cf3-reference.html#bin

Cfengine Help: FreeBSD package naming (un)conventions

2010-08-23 Thread no-reply
Forum: Cfengine Help Subject: FreeBSD package naming (un)conventions Author: mikec Link to topic: https://cfengine.com/forum/read.php?3,17970,17970#msg-17970 Hello all, I'm trying to use cfengine to manage packages on FreeBSD boxen, and am wondering if anybody has already solved the problem of h

Cfengine Help: multiple cycles to impliment a change.

2010-08-23 Thread no-reply
Forum: Cfengine Help Subject: multiple cycles to impliment a change. Author: daveseff Link to topic: https://cfengine.com/forum/read.php?3,17971,17971#msg-17971 I'm continuing to refine my CFE3 deployment. I just had a quick question; Is it normal that some machines take 2 cycles to implement a c

Cfengine Help: Cfengine blew away my init.d folder

2010-08-23 Thread no-reply
Forum: Cfengine Help Subject: Cfengine blew away my init.d folder Author: daveseff Link to topic: https://cfengine.com/forum/read.php?3,17972,17972#msg-17972 I wanted to deploy a new init.d script on my servers. It was a simple copy from the master: files: "/etc/init.d/zasg"

Cfengine Help: Re: multiple cycles to impliment a change.

2010-08-23 Thread no-reply
Forum: Cfengine Help Subject: Re: multiple cycles to impliment a change. Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17971,17973#msg-17973 Cf is convergent. I can take multiple runs for the agent to change the host to the desired state. It all depends on what the po

Cfengine Help: Re: Cfengine3 / hierarchical copy

2010-08-23 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine3 / hierarchical copy Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,17771,17974#msg-17974 Hi Christian - as far as I can tell, the message is produced only when you request informational messages to be printed (-I), which is what y

Cfengine Help: Re: Wildcard in files stanza on copy

2010-08-23 Thread no-reply
Forum: Cfengine Help Subject: Re: Wildcard in files stanza on copy Author: kholloway Link to topic: https://cfengine.com/forum/read.php?3,17887,17979#msg-17979 Excellent examples but they all hinge on me having to know the actual node information which I don't because it's just a number our app p

Cfengine Help: Re: Wildcard in files stanza on copy

2010-08-23 Thread no-reply
Forum: Cfengine Help Subject: Re: Wildcard in files stanza on copy Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17887,17980#msg-17980 Well, the Cfengine must have a knowledge about the relation between a number and a host to ensure a promise is convergent. There ar

Cfengine Help: Re: Wildcard in files stanza on copy

2010-08-23 Thread no-reply
Forum: Cfengine Help Subject: Re: Wildcard in files stanza on copy Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,17887,17981#msg-17981 Hi Kent, I've spent some time trying to accomplish what you need without resorting to execresult() - I have not been successful. The foll

help-cfengine@cfengine.org

2010-08-24 Thread no-reply
Forum: Cfengine Help Subject: Re: Unexpected argument with no preceding option: && Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,16855,17982#msg-17982 I went back to this quite old topic because it became obvious to me that the important part of runagent's functiona

help-cfengine@cfengine.org

2010-08-24 Thread no-reply
Forum: Cfengine Help Subject: Re: Unexpected argument with no preceding option: && Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,16855,17983#msg-17983 Technically we don't know really know how many runs it will take to reach the desire state. Typically it is two but it

help-cfengine@cfengine.org

2010-08-24 Thread no-reply
Forum: Cfengine Help Subject: Re: Unexpected argument with no preceding option: && Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,16855,17984#msg-17984 Well, perhaps, it is the solution. Can't see how it can be much safer, though.

Cfengine Help: Re: Tokyocabinet for AIX build

2010-08-25 Thread no-reply
Forum: Cfengine Help Subject: Re: Tokyocabinet for AIX build Author: matter Link to topic: https://cfengine.com/forum/read.php?3,17964,17986#msg-17986 Most likely it is some sort of .lib thing where it actually lives in src/.../.lib somewhere and the libpath does not pick it up. I have seen this

Cfengine Help: Re: Tokyocabinet for AIX build

2010-08-25 Thread no-reply
Forum: Cfengine Help Subject: Re: Tokyocabinet for AIX build Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17964,17987#msg-17987 To meeAIX is like that one relative, often an inlaw, that you can never get along with. Thanks for the input. I'll give it a try.

Cfengine Help: Re: Tokyocabinet for AIX build

2010-08-25 Thread no-reply
Forum: Cfengine Help Subject: Re: Tokyocabinet for AIX build Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17964,17988#msg-17988 I could only get this to build as a static build. But then it does work and I can link it to my cf binaries making things very portable. __

Cfengine Help: Re: COPBL contributions? Also, hosting it on GitHub

2010-08-25 Thread no-reply
Forum: Cfengine Help Subject: Re: COPBL contributions? Also, hosting it on GitHub Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,17985,17991#msg-17991 Responding to myself: I have setup a repository on github: http://github.com/zzamboni/cfengine-copbl with a copy of the COP

Cfengine Help: Re: Tokyocabinet for AIX build

2010-08-26 Thread no-reply
Forum: Cfengine Help Subject: Re: Tokyocabinet for AIX build Author: matter Link to topic: https://cfengine.com/forum/read.php?3,17964,17996#msg-17996 To get it to compile dynamically, you could set the LD_LIBRARY_PATH environment variable to the same directory as LD_FLAGS that you set to get it

Cfengine Help: Re: Article on the Configuration Management Summit 2010 now online at www.linux-mag.com

2010-08-26 Thread no-reply
Forum: Cfengine Help Subject: Re: Article on the Configuration Management Summit 2010 now online at www.linux-mag.com Author: matter Link to topic: https://cfengine.com/forum/read.php?3,17989,17997#msg-17997 Nice. I was there at the conference a did a little presentation on "Converting an Ad-hoc

Cfengine Help: Re: Multi-homed clients and authentication

2010-08-26 Thread no-reply
Forum: Cfengine Help Subject: Re: Multi-homed clients and authentication Author: matter Link to topic: https://cfengine.com/forum/read.php?3,17966,17998#msg-17998 I only have a few hosts similar to this. I fake it out on the policy host by creating host aliases /etc/hosts. Also another trick is

Cfengine Help: Re: Article on the Configuration Management Summit 2010 now online at www.linux-mag.com

2010-08-26 Thread no-reply
Forum: Cfengine Help Subject: Re: Article on the Configuration Management Summit 2010 now online at www.linux-mag.com Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17989,17999#msg-17999 This is a good comparison Aleksey. It is interesting that there are many CM tools

Cfengine Help: Re: v3 process matching

2010-08-26 Thread no-reply
Forum: Cfengine Help Subject: Re: v3 process matching Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18000,18001#msg-18001 I noticed Solairs process matching problems with older versions but I've not looked at 3.0.5p1 yet. Do you have a small test case that we can try?

Cfengine Help: backgrounding methods

2010-08-26 Thread no-reply
Forum: Cfengine Help Subject: backgrounding methods Author: matter Link to topic: https://cfengine.com/forum/read.php?3,18002,18002#msg-18002 Greetings, Is it possible to background a whole method? For example, I would like to copy files from several hosts and background each host's copies separ

Cfengine Help: Re: backgrounding methods

2010-08-26 Thread no-reply
Forum: Cfengine Help Subject: Re: backgrounding methods Author: matter Link to topic: https://cfengine.com/forum/read.php?3,18002,18003#msg-18003 I suppose I should qualify what the end goal is, rather than a specific example. I have about 300 servers that I collect information from. The copy is

Cfengine Help: Re: backgrounding methods

2010-08-26 Thread no-reply
Forum: Cfengine Help Subject: Re: backgrounding methods Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18002,18004#msg-18004 What happens if you background the files promise instead? ___ Help-cfengine mailing list Help-cfengine

Cfengine Help: Re: backgrounding methods

2010-08-26 Thread no-reply
Forum: Cfengine Help Subject: Re: backgrounding methods Author: matter Link to topic: https://cfengine.com/forum/read.php?3,18002,18005#msg-18005 I have tried that, and it gets a little squirrely, mostly I need to bump up my max connections. I receive many file transfer changed in transit warning

Cfengine Help: Re: backgrounding methods

2010-08-27 Thread no-reply
Forum: Cfengine Help Subject: Re: backgrounding methods Author: matter Link to topic: https://cfengine.com/forum/read.php?3,18002,18009#msg-18009 I rewrote the bundle to background the file copy, but I get lots of these errors and it seems to take longer than doing it without the backgrounding:

Cfengine Help: Re: backgrounding methods

2010-08-30 Thread no-reply
Forum: Cfengine Help Subject: Re: backgrounding methods Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18002,18010#msg-18010 I'm not clear on backgrounding and children either. If one configures a large number of children but not a background action will that accomplish

Cfengine Help: HP-UX 11.31 PA-RISC - openssl libraries not linking?

2010-08-30 Thread no-reply
Forum: Cfengine Help Subject: HP-UX 11.31 PA-RISC - openssl libraries not linking? Author: bbomgardner Link to topic: https://cfengine.com/forum/read.php?3,18011,18011#msg-18011 Does anyone have instructions on how they successfully compiled cfengine (3.0.5p1) on HP-UX 11.31 PA-RISC? If I try to

Cfengine Help: Re: HP-UX 11.31 PA-RISC - openssl libraries not linking?

2010-08-31 Thread no-reply
Forum: Cfengine Help Subject: Re: HP-UX 11.31 PA-RISC - openssl libraries not linking? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18011,18012#msg-18012 /var/cfengine is in good working order and the ppkeys dir exists or can be created by the user? What does cf-promi

Cfengine Help: Re: HP-UX 11.31 PA-RISC - openssl libraries not linking?

2010-08-31 Thread no-reply
Forum: Cfengine Help Subject: Re: HP-UX 11.31 PA-RISC - openssl libraries not linking? Author: bbomgardner Link to topic: https://cfengine.com/forum/read.php?3,18011,18013#msg-18013 Hi Neil, Here is the output of cf-promises -x: uxtst01:/var/cfengine/bin # ./cf-promises -x --

Cfengine Help: Re: HP-UX 11.31 PA-RISC - openssl libraries not linking?

2010-08-31 Thread no-reply
Forum: Cfengine Help Subject: Re: HP-UX 11.31 PA-RISC - openssl libraries not linking? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18011,18014#msg-18014 Perhaps use gdb and a backtrace to see what is happening. ___ Help-cfen

Cfengine Help: Re: HP-UX 11.31 PA-RISC - openssl libraries not linking?

2010-08-31 Thread no-reply
Forum: Cfengine Help Subject: Re: HP-UX 11.31 PA-RISC - openssl libraries not linking? Author: bbomgardner Link to topic: https://cfengine.com/forum/read.php?3,18011,18015#msg-18015 If I am understanding this correctly, cf-key fails while trying to call GenericInitialize(argc,argv,"keygenerator")

Cfengine Help: Re: HP-UX 11.31 PA-RISC - openssl libraries not linking?

2010-08-31 Thread no-reply
Forum: Cfengine Help Subject: Re: HP-UX 11.31 PA-RISC - openssl libraries not linking? Author: Beto Link to topic: https://cfengine.com/forum/read.php?3,18011,18016#msg-18016 You can download cfengine 3.0.5p1 binaries for PA-RISC and ia64 from the HP-UX Porting and Archive Center at http://hpux.

Cfengine Help: Re: HP-UX 11.31 PA-RISC - openssl libraries not linking?

2010-08-31 Thread no-reply
Forum: Cfengine Help Subject: Re: HP-UX 11.31 PA-RISC - openssl libraries not linking? Author: bbomgardner Link to topic: https://cfengine.com/forum/read.php?3,18011,18017#msg-18017 Beto, Thank you! I'll give this a run. ___ Help-cfengine mailing list

Cfengine Help: Re: HP-UX 11.31 PA-RISC - openssl libraries not linking?

2010-08-31 Thread no-reply
Forum: Cfengine Help Subject: Re: HP-UX 11.31 PA-RISC - openssl libraries not linking? Author: bbomgardner Link to topic: https://cfengine.com/forum/read.php?3,18011,18018#msg-18018 Thanks to all for your help - I was able to get this working. I needed gd and a new version of libpng to resolve t

Cfengine Help: Cfengine master HA?

2010-08-31 Thread no-reply
Forum: Cfengine Help Subject: Cfengine master HA? Author: daveseff Link to topic: https://cfengine.com/forum/read.php?3,18019,18019#msg-18019 This is directed more a Neil. In your tutorial (http://watson-wilson.ca/blog/cf3-tutorial.html) You have this in your promises.cf: 29 # for

Cfengine Help: Re: Cfengine master HA?

2010-08-31 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine master HA? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18019,18020#msg-18020 The former. See http://www.cfengine.org/manuals/cf3-reference.html#copy_005ffrom-in-files "servers".

Cfengine Help: Re: Cfengine master HA?

2010-08-31 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine master HA? Author: daveseff Link to topic: https://cfengine.com/forum/read.php?3,18019,18021#msg-18021 Much appreciated. Thanks. ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/

Cfengine Help: Re: Cfengine master HA?

2010-08-31 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine master HA? Author: daveseff Link to topic: https://cfengine.com/forum/read.php?3,18019,18025#msg-18025 But Now it seems that I have broken everything. Unable to lookup hostname ($(g.phost)) or cfengine service: Name or service not known !! Unable to f

Cfengine Help: Re: Cfengine master HA?

2010-08-31 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine master HA? Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,18019,18027#msg-18027 You'd rather pass a list there, i.e. copy_from => secure_cp("$(g.repo)/bond_studio/tmpwatch","@(g.phost)") Lists can't be accessed indirectly,

Cfengine Help: File ownership for AD users

2010-08-31 Thread no-reply
Forum: Cfengine Help Subject: File ownership for AD users Author: Remi Link to topic: https://cfengine.com/forum/read.php?3,18029,18029#msg-18029 Hey guys: I'm using AD auth on our linux servers through winbind. I'm using cfengine 3 to distribute authorized key files for certain users, however

Cfengine Help: Re: File ownership for AD users

2010-08-31 Thread no-reply
Forum: Cfengine Help Subject: Re: File ownership for AD users Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,18029,18031#msg-18031 The Cfengine's output itself is not about finding domain users, it's about syntax. The user field is treated as the broken regular expre

Cfengine Help: Re: task recieves SIGINT

2010-09-01 Thread no-reply
Forum: Cfengine Help Subject: Re: task recieves SIGINT Author: eystein Link to topic: https://cfengine.com/forum/read.php?3,18028,18032#msg-18032 Hi, It is probably a second instance of cf-agent that sends the signal because expireafter has been passed for the promise the first agent is working

Cfengine Help: Re: action policy => "warn" ign ored?

2010-09-01 Thread no-reply
Forum: Cfengine Help Subject: Re: action_policy => "warn" ignored? Author: eystein Link to topic: https://cfengine.com/forum/read.php?3,18030,18033#msg-18033 You are right Diego, a bug report seems to be appropriate here. -- Regards, Eystein ___ Help-c

Cfengine Help: Problem with installation

2010-09-01 Thread no-reply
Forum: Cfengine Help Subject: Problem with installation Author: gurkensalat Link to topic: https://cfengine.com/forum/read.php?3,18036,18036#msg-18036 Hi, i am using cfengine via cygwin on Win XP. On page 27 (1.11 Testing as a non-privilieged user) of the reference manual (http://www.cfengine.o

Cfengine Help: Re: Problem with installation

2010-09-01 Thread no-reply
Forum: Cfengine Help Subject: Re: Problem with installation Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18036,18037#msg-18037 Link or copy the binaries to ~/.cfagent/bin from where-ever they are installed be it src, /usr/loca or elsewhere. ___

Cfengine Help: So any syntax errors cause site wide cfengine 3 outages?

2010-09-01 Thread no-reply
Forum: Cfengine Help Subject: So any syntax errors cause site wide cfengine 3 outages? Author: lukebigum Link to topic: https://cfengine.com/forum/read.php?3,18038,18038#msg-18038 Hello all, I'm in the middle of evaluating cfengine 3, having used cfengine 2 for a few years. One of my biggest pro

Cfengine Help: Re: So any syntax errors cause site wide cfengine 3 outages?

2010-09-01 Thread no-reply
Forum: Cfengine Help Subject: Re: So any syntax errors cause site wide cfengine 3 outages? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18038,18039#msg-18039 You can base the inputs clause on classes however I think that cf-promises is still invoked on all policies. T

Cfengine Help: Re: File ownership for AD users

2010-09-01 Thread no-reply
Forum: Cfengine Help Subject: Re: File ownership for AD users Author: Remi Link to topic: https://cfengine.com/forum/read.php?3,18029,18040#msg-18040 Thanks for the input, sadly no such luck cf3 Unknown user 'DOMAIN\+USER' ___ Help-cfengine mailing lis

Cfengine Help: Re: So any syntax errors cause site wide cfengine 3 outages?

2010-09-01 Thread no-reply
Forum: Cfengine Help Subject: Re: So any syntax errors cause site wide cfengine 3 outages? Author: Ed Link to topic: https://cfengine.com/forum/read.php?3,18038,18041#msg-18041 replied to in email - this forum system is fubar ___ Help-cfengine mailing l

Cfengine Help: Who's going to promise this - Forums Fubar

2010-09-01 Thread no-reply
ng to "no-reply"? ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine

Cfengine Help: Re: So any syntax errors cause site wide cfengine 3 outages?

2010-09-01 Thread no-reply
Forum: Cfengine Help Subject: Re: So any syntax errors cause site wide cfengine 3 outages? Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,18038,18044#msg-18044 Neil, No it doesn't. I have class based inputs definitions which work perfectly fine on different systems,

Cfengine Help: hostname or DNS problem

2010-09-02 Thread no-reply
Forum: Cfengine Help Subject: hostname or DNS problem Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18052,18052#msg-18052 Strange cf-runagent issue. Client # hostname -f unxxhd01.example.com # cf-runagent -H sterlz01.example.com BAD: key could not be accepted on trust

Cfengine Help: Re: hostname or DNS problem

2010-09-02 Thread no-reply
Forum: Cfengine Help Subject: Re: hostname or DNS problem Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,18052,18053#msg-18053 Neil, what is the output of hostname, not hostname -f ? ___ Help-cfengine mailing list Help-cfe

Cfengine Help: Re: hostname or DNS problem

2010-09-02 Thread no-reply
Forum: Cfengine Help Subject: Re: hostname or DNS problem Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18052,18054#msg-18054 Hi Seva, # hostname unxxhd01.example.com ___ Help-cfengine mailing list Help-cfengine@cfengine.org

Cfengine Help: Re: hostname or DNS problem

2010-09-02 Thread no-reply
Forum: Cfengine Help Subject: Re: hostname or DNS problem Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,18052,18056#msg-18056 Well, that could be some stalled resolver issue. Such things are always hard to debug, especially when then problem is gone already. __

Cfengine Help: Re: cf-serverd returning private decrypt failed

2010-09-02 Thread no-reply
Forum: Cfengine Help Subject: Re: cf-serverd returning private decrypt failed Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,18055,18057#msg-18057 Jim, The current version is 3.0.5p1, and 3.0.4p2 exists long time already. So, the first suggestion is to upgrade. I re

Cfengine Help: Re: So any syntax errors cause site wide cfengine 3 outages?

2010-09-03 Thread no-reply
Forum: Cfengine Help Subject: Re: So any syntax errors cause site wide cfengine 3 outages? Author: lukebigum Link to topic: https://cfengine.com/forum/read.php?3,18038,18058#msg-18058 Seva, Have you got something like the following? FTP_SERVER:: inputs => { "ftp.cf" }; HTTP_SERVER:: inputs =

Cfengine Help: Re: hostname or DNS problem

2010-09-03 Thread no-reply
Forum: Cfengine Help Subject: Re: hostname or DNS problem Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18052,18059#msg-18059 Agreed. This network does have some less maintained roads but I'm not entirely convinced that it or DNS is to blame. I've never seen a DNS loo

Cfengine Help: Re: So any syntax errors cause site wide cfengine 3 outages?

2010-09-03 Thread no-reply
Forum: Cfengine Help Subject: Re: So any syntax errors cause site wide cfengine 3 outages? Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,18038,18060#msg-18060 Well, there are two possible solutions: bundle common g { vars: HTTP_SERVER:: "stdin" s

Cfengine Help: vars policy => "ifdefined" brok en

2010-09-03 Thread no-reply
Forum: Cfengine Help Subject: vars policy => "ifdefined" broken Author: lukebigum Link to topic: https://cfengine.com/forum/read.php?3,18061,18061#msg-18061 Hi all, I have some interesting behaviour with the vars menu option 'policy => "ifdefined"'. It seems to give some unpredictable behaviour.

Cfengine Help: Re: vars policy => "ifdefined" broken

2010-09-03 Thread no-reply
Forum: Cfengine Help Subject: Re: vars policy => "ifdefined" broken Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18061,18062#msg-18062 It does look a little suspicious. You can search and file bugs here: https://cfengine.com/bugtracker/my_view_page.php __

Cfengine Help: Re: vars policy => "ifdefined" broken

2010-09-03 Thread no-reply
Forum: Cfengine Help Subject: Re: vars policy => "ifdefined" broken Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,18061,18063#msg-18063 I'm pretty sure there must be no comma before policy => "ifdefined";. The parser takes it wrong way, though, so I'm pretty sure it

Cfengine Help: Re: Best way to gracefully stop cfengine daemons?

2010-09-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Best way to gracefully stop cfengine daemons? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18065,18066#msg-18066 A normal kill should do the trick. There is no built in terminate mechanism that I am aware of.

Cfengine Help: Problem with network set up

2010-09-03 Thread no-reply
Forum: Cfengine Help Subject: Problem with network set up Author: gurkensalat Link to topic: https://cfengine.com/forum/read.php?3,18067,18067#msg-18067 Hi everyone, I want to set up cfengine on cygwin on two Win XP VMware Images. I read the official tutorial (http://www.cfengine.org/manuals/cf3

Cfengine Help: Re: Problem with network set up

2010-09-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Problem with network set up Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18067,18068#msg-18068 Cfengine reads the file promises.cf first. This file must be available. All other files can be read into the promises file using the 'inpu

Cfengine Help: Re: Problem with network set up

2010-09-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Problem with network set up Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,18067,18069#msg-18069 I was going to suggest looking at Neil's tutorial, which is what largely clarified the actual practical setup for me in the beginning, good to

Cfengine Help: Re: Cfengine Help: Re: Best way to gracefully stop cfengine daemons?

2010-09-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Re: Best way to gracefully stop cfengine daemons? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18070,18071#msg-18071 Since CF is convergent it will fix the damaged files on the next run. A more urgent although expensive

Cfengine Help: Re: So any syntax errors cause site wide cfengine 3 outages?

2010-09-03 Thread no-reply
Forum: Cfengine Help Subject: Re: So any syntax errors cause site wide cfengine 3 outages? Author: Remi Link to topic: https://cfengine.com/forum/read.php?3,18038,18072#msg-18072 Another good way to deal with typos is to use the failsafe documented on Watsons howto. http://watson-wilson.ca/blog/c

Cfengine Help: Re: Cfengine Help: Re: vars pol icy => "ifdefined" broken

2010-09-05 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Re: vars policy => "ifdefined" broken Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,18076,18077#msg-18077 Yep, sorry, I was wrong about that. ___ Help-cfengine mailing list

<    1   2   3   4   5   6   7   8   9   10   >