Cfengine Help: Re: Cfengine Help: any good examples of "handle" usage?

2010-05-13 Thread forum
Forum: Cfengine Help Subject: Re: Cfengine Help: any good examples of "handle" usage? Author: mark Link to topic: https://cfengine.com/forum/read.php?3,17155,17170#msg-17170 Actually, you're absolutely right -- and the simple answer is we don't. Actually the name "sema

Cfengine Help: Re: Cfengine Help: any good examples of "handle" usage?

2010-05-13 Thread forum
Forum: Cfengine Help Subject: Re: Cfengine Help: any good examples of "handle" usage? Author: BSummation Link to topic: https://cfengine.com/forum/read.php?3,17155,17169#msg-17169 I know CMDB is all the rage, but why would Cfengine want to get into something peripheral that alre

Cfengine Help: Re: Cfengine Help: any good examples of "handle" usage?

2010-05-13 Thread forum
Forum: Cfengine Help Subject: Re: Cfengine Help: any good examples of "handle" usage? Author: mark Link to topic: https://cfengine.com/forum/read.php?3,17155,17168#msg-17168 I had someone check out the forum and some processes were not running. Restarted, so let's hope fo

Cfengine Help: Re: Cfengine Help: any good examples of "handle" usage?

2010-05-13 Thread forum
Forum: Cfengine Help Subject: Re: Cfengine Help: any good examples of "handle" usage? Author: AS5C0TT Link to topic: https://cfengine.com/forum/read.php?3,17155,17167#msg-17167 Hmmm. Never did trust web interfaces. So Constellation will be available at the end of the year? When c

Cfengine Help: Re: any other action from changes besides reporting?

2010-05-13 Thread forum
Forum: Cfengine Help Subject: Re: any other action from changes besides reporting? Author: mark Link to topic: https://cfengine.com/forum/read.php?3,17150,17166#msg-17166 Ok, while I'm logged into this web thing, let's see if I can make any more mistakes :-) There is a special

Cfengine Help: Re: Cfengine Help: any good examples of "handle" usage?

2010-05-13 Thread forum
Forum: Cfengine Help Subject: Re: Cfengine Help: any good examples of "handle" usage? Author: mark Link to topic: https://cfengine.com/forum/read.php?3,17155,17165#msg-17165 Sorry, this was my mistake. My email did not appear in the list, so I logged in with admin privileges to see

Cfengine Help: Re: Cfengine Help: any good examples of "handle" usage?

2010-05-13 Thread forum
Forum: Cfengine Help Subject: Re: Cfengine Help: any good examples of "handle" usage? Author: AS5C0TT Link to topic: https://cfengine.com/forum/read.php?3,17155,17164#msg-17164 Um, I just got an email by you from me...?! ___ Help-cfengine ma

Cfengine Help: Re: Cfengine Help: any good examples of "handle" usage?

2010-05-13 Thread forum
Forum: Cfengine Help Subject: Re: Cfengine Help: any good examples of "handle" usage? Author: mark Link to topic: https://cfengine.com/forum/read.php?3,17155,17163#msg-17163 Thanks for the kind words. The semantic CMDB is indeed going to be very cool! We are doing the R&D on this a

Cfengine Help: Re: Cfengine Help: any good examples of "handle" usage?

2010-05-13 Thread forum
Forum: Cfengine Help Subject: Re: Cfengine Help: any good examples of "handle" usage? Author: AS5C0TT Link to topic: https://cfengine.com/forum/read.php?3,17155,17162#msg-17162 Thanks for the kind words. The semantic CMDB is indeed going to be very cool! We are doing the R&D on th

Cfengine Help: Re: any other action from changes besides reporting?

2010-05-13 Thread forum
Forum: Cfengine Help Subject: Re: any other action from changes besides reporting? Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17150,17161#msg-17161 Let me foresee... It will be available in Nova only ;) ___ Help

Cfengine Help: Re: Cfengine Help: any good examples of "handle" usage?

2010-05-13 Thread forum
Forum: Cfengine Help Subject: Re: Cfengine Help: any good examples of "handle" usage? Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17155,17160#msg-17160 Not yet, dirty ground hasn't been prepared yet ;) __

Cfengine Help: Re: Cfengine Help: any good examples of "handle" usage?

2010-05-13 Thread forum
Forum: Cfengine Help Subject: Re: Cfengine Help: any good examples of "handle" usage? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17155,17159#msg-17159 Do I sense a cage match? :) ___ Help-cfengine mailing

Cfengine Help: Re: any other action from changes besides reporting?

2010-05-13 Thread forum
Forum: Cfengine Help Subject: Re: any other action from changes besides reporting? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17150,17158#msg-17158 Might be a nice feature request. ___ Help-cfengine mailing list Help

Cfengine Help: Re: Cfengine Help: any good examples of "handle" usage?

2010-05-13 Thread forum
Forum: Cfengine Help Subject: Re: Cfengine Help: any good examples of "handle" usage? Author: AS5C0TT Link to topic: https://cfengine.com/forum/read.php?3,17155,17157#msg-17157 The whole knowledge management side of Nova is awesome, really breaking new ground that none of the competing

Cfengine Help: any good examples of "handle" usage?

2010-05-13 Thread forum
Forum: Cfengine Help Subject: any good examples of "handle" usage? Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17154,17154#msg-17154 Hello everybody, A promise handle is like a ‘goto’ label. It allows you to refer to a promise as the promisee of

Cfengine Help: Re: any other action from changes besides reporting?

2010-05-13 Thread forum
Forum: Cfengine Help Subject: Re: any other action from changes besides reporting? Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17150,17153#msg-17153 Yep, I did. Speaking strictly, it was unnecessary because Cfengine reports cf3 Outcome of version (not specified

Cfengine Help: Re: any other action from changes besides reporting?

2010-05-12 Thread forum
Forum: Cfengine Help Subject: Re: any other action from changes besides reporting? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17150,17151#msg-17151 Did you check any of the other class types such as kept or failed? Checking for changes is a non-conventional promise

Cfengine Help: any other action from changes besides reporting?

2010-05-12 Thread forum
Forum: Cfengine Help Subject: any other action from changes besides reporting? Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17150,17150#msg-17150 Hello folks, Is there any method to trigger an action upon file change? My current experiments with body changes show

Cfengine Help: Re: Mailing alerts from tripwire

2010-05-11 Thread forum
Forum: Cfengine Help Subject: Re: Mailing alerts from tripwire Author: eblack Link to topic: https://cfengine.com/forum/read.php?3,17146,17149#msg-17149 Hmm, I just did get an email after updating the file I am checking, but I don't think I changed anything in the cfengine configuration to

Cfengine Help: Re: Mailing alerts from tripwire

2010-05-11 Thread forum
Forum: Cfengine Help Subject: Re: Mailing alerts from tripwire Author: eblack Link to topic: https://cfengine.com/forum/read.php?3,17146,17148#msg-17148 Thanks Neil, but I am using cf-execd and I do get mailings of anything that has an "R:" prefix, such as this: R: RUNNING IN

Cfengine Help: Re: Mailing alerts from tripwire

2010-05-11 Thread forum
Forum: Cfengine Help Subject: Re: Mailing alerts from tripwire Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17146,17147#msg-17147 I think you need to run the agent via the executor (cf-execd). Cf'-execd's control section has a mailto setting. http://www.cf

Cfengine Help: Mailing alerts from tripwire

2010-05-11 Thread forum
Forum: Cfengine Help Subject: Mailing alerts from tripwire Author: eblack Link to topic: https://cfengine.com/forum/read.php?3,17146,17146#msg-17146 Hi, I am using the community edition v 3.0.4 and I can't figure out how to get the alerts from a trip wire change detection to be sent i

Cfengine Help: Re: Setting perms on home directory files

2010-05-11 Thread forum
Forum: Cfengine Help Subject: Re: Setting perms on home directory files Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17127,17145#msg-17145 Cf sometimes requires parts of a regex to be escaped. I use the regex tool at cfengine.com to validate

Cfengine Help: Re: Setting perms on home directory files

2010-05-11 Thread forum
Forum: Cfengine Help Subject: Re: Setting perms on home directory files Author: RIngersoll Link to topic: https://cfengine.com/forum/read.php?3,17127,17144#msg-17144 Nakarin-- Evidently the hang I'm experiencing is associated with the readstringarray function. If I specify a maximum numb

Cfengine Help: Re: Setting perms on home directory files

2010-05-11 Thread forum
Forum: Cfengine Help Subject: Re: Setting perms on home directory files Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,17127,17140#msg-17140 I think you might need to upgrade cfengine. It would be one of the bugs which was already fixed since 3.0.4. Your script worked

Cfengine Help: Re: Setting perms on home directory files

2010-05-10 Thread forum
Forum: Cfengine Help Subject: Re: Setting perms on home directory files Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17127,17139#msg-17139 I think you can use the readstringarray and skip the command promise altogether. Use the skip regex, that now skips comment

Cfengine Help: Re: Setting perms on home directory files

2010-05-10 Thread forum
Forum: Cfengine Help Subject: Re: Setting perms on home directory files Author: RIngersoll Link to topic: https://cfengine.com/forum/read.php?3,17127,17138#msg-17138 Here's what I have so far: body common control { bundlesequence => {

Cfengine Help: Re: cf3 commands error

2010-05-10 Thread forum
Forum: Cfengine Help Subject: Re: cf3 commands error Author: RIngersoll Link to topic: https://cfengine.com/forum/read.php?3,17135,17137#msg-17137 A, that explains some things... Thanks! ___ Help-cfengine mailing list Help-cfengine@cfengine.org

Cfengine Help: Re: cf3 commands error

2010-05-10 Thread forum
Forum: Cfengine Help Subject: Re: cf3 commands error Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,17135,17136#msg-17136 Suppose to be like the following; bundle agent test { commands: "/bin/grep admin /etc/passwd >/tmp/passwd.txt" -- cont

Cfengine Help: cf3 commands error

2010-05-10 Thread forum
Forum: Cfengine Help Subject: cf3 commands error Author: RIngersoll Link to topic: https://cfengine.com/forum/read.php?3,17135,17135#msg-17135 I've been banging my head trying to get a simple command to execute: body common control { bundlesequence => {

Cfengine Help: Re: Instructions for building static cfengine 3 binaries on Linux?

2010-05-07 Thread forum
Forum: Cfengine Help Subject: Re: Instructions for building static cfengine 3 binaries on Linux? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17133,17134#msg-17134 The best I've been able to do is build Berkeley, PCRE and Cfengine together and install to the pref

Cfengine Help: Instructions for building static cfengine 3 binaries on Linux?

2010-05-07 Thread forum
Forum: Cfengine Help Subject: Instructions for building static cfengine 3 binaries on Linux? Author: jcoleman Link to topic: https://cfengine.com/forum/read.php?3,17133,17133#msg-17133 I've been able to build static cfengine 3 binaries on Solaris 8 without a lot of trouble, but I

Cfengine Help: SRC RPMs for linux binaries? / Long term plans for providing binary packages?

2010-05-07 Thread forum
Forum: Cfengine Help Subject: SRC RPMs for linux binaries? / Long term plans for providing binary packages? Author: jcoleman Link to topic: https://cfengine.com/forum/read.php?3,17132,17132#msg-17132 We're considering whether to use cfengine.com linux binaries currently provided free of c

Cfengine Help: Re: Setting perms on home directory files

2010-05-07 Thread forum
Forum: Cfengine Help Subject: Re: Setting perms on home directory files Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,17127,17128#msg-17128 I have done something like this to my machine. Firstly, create a list of users based on directories under /home then ensure

Cfengine Help: Setting perms on home directory files

2010-05-07 Thread forum
Forum: Cfengine Help Subject: Setting perms on home directory files Author: RIngersoll Link to topic: https://cfengine.com/forum/read.php?3,17127,17127#msg-17127 I have a requirement to ensure that all files in a user's home directory are owned by the owner of the home directory and

Cfengine Help: Re: dirent and d_type support in verify_packages.c (AIX)

2010-05-07 Thread forum
Forum: Cfengine Help Subject: Re: dirent and d_type support in verify_packages.c (AIX) Author: eystein Link to topic: https://cfengine.com/forum/read.php?3,17121,17126#msg-17126 Hi, Thanks for reporting - removed that on AIX. -- Regards, Eystein

Cfengine Help: dirent and d_type support in verify_packages.c (AIX)

2010-05-06 Thread forum
Forum: Cfengine Help Subject: dirent and d_type support in verify_packages.c (AIX) Author: matter Link to topic: https://cfengine.com/forum/read.php?3,17121,17121#msg-17121 Greetings, Compiling the latest svn 981, there was a change in verify_packages.c that uses d_type support for the dirent

Cfengine Help: Re: List variable in inputs

2010-05-06 Thread forum
Forum: Cfengine Help Subject: Re: List variable in inputs Author: dfriedman Link to topic: https://cfengine.com/forum/read.php?3,17074,17120#msg-17120 So does this mean it's not possible to have a dynamic list of input files, period? ___ Help-cfe

Cfengine Help: Re: cf-serverd: !! tchdbopen: Opening database "/var/cfengine/cf_LastSeen.tcdb" failed: threading error

2010-05-06 Thread forum
Forum: Cfengine Help Subject: Re: cf-serverd: !! tchdbopen: Opening database "/var/cfengine/cf_LastSeen.tcdb" failed: threading error Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17103,17118#msg-17118 That is production policy server, sir, so it's

Cfengine Help: Re: cf-serverd: !! tchdbopen: Opening database "/var/cfengine/cf_LastSeen.tcdb" failed: threading error

2010-05-06 Thread forum
Forum: Cfengine Help Subject: Re: cf-serverd: !! tchdbopen: Opening database "/var/cfengine/cf_LastSeen.tcdb" failed: threading error Author: eystein Link to topic: https://cfengine.com/forum/read.php?3,17103,17117#msg-17117 Hi, As the message says, this is related to threading. Tok

Cfengine Help: Re: cf-serverd: !! tchdbopen: Opening database "/var/cfengine/cf_LastSeen.tcdb" failed: threading error

2010-05-06 Thread forum
Forum: Cfengine Help Subject: Re: cf-serverd: !! tchdbopen: Opening database "/var/cfengine/cf_LastSeen.tcdb" failed: threading error Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17103,17116#msg-17116 Update: I was kinda too optimistic. Threading erro

Cfengine Help: Re: cf-serverd: !! tchdbopen: Opening database "/var/cfengine/cf_LastSeen.tcdb" failed: threading error

2010-05-06 Thread forum
Forum: Cfengine Help Subject: Re: cf-serverd: !! tchdbopen: Opening database "/var/cfengine/cf_LastSeen.tcdb" failed: threading error Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17103,17115#msg-17115 The correct sequence is to stop cf-serverd, remove da

Cfengine Help: Re: cf-serverd: !! tchdbopen: Opening database "/var/cfengine/cf_LastSeen.tcdb" failed: threading error

2010-05-06 Thread forum
Forum: Cfengine Help Subject: Re: cf-serverd: !! tchdbopen: Opening database "/var/cfengine/cf_LastSeen.tcdb" failed: threading error Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,17103,17114#msg-17114 Have you tried to delete the db? It might be corrupt someho

Cfengine Help: Re: reports and ifvarclass

2010-05-05 Thread forum
Forum: Cfengine Help Subject: Re: reports and ifvarclass Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,13968,17105#msg-17105 Instead of linux|!linux, I created an 'all' class that matches 'any'. This removes the problem of the agent warning about

Cfengine Help: cf-serverd: !! tchdbopen: Opening database "/var/cfengine/cf_LastSeen.tcdb" failed: threading error

2010-05-05 Thread forum
Forum: Cfengine Help Subject: cf-serverd: !! tchdbopen: Opening database "/var/cfengine/cf_LastSeen.tcdb" failed: threading error Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17103,17103#msg-17103 Hello folks, I'm getting the threading error messa

Cfengine Help: Re: Cfengine Help: Please add full syslog support to community edition v.3

2010-05-04 Thread forum
Forum: Cfengine Help Subject: Re: Cfengine Help: Please add full syslog support to community edition v.3 Author: jgreer Link to topic: https://cfengine.com/forum/read.php?3,17037,17101#msg-17101 Mark, Thanks; sorry for the misunderstanding on my part. I later realized that, in the promise

Cfengine Help: Re: List variable in inputs

2010-05-04 Thread forum
Forum: Cfengine Help Subject: Re: List variable in inputs Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17074,17095#msg-17095 By hierarchical are you hoping to allow other teams to make policy without altering your own

Cfengine Help: Re: How to run Cfengine 3 with Cfengine 2 policies? I get syntax errors.

2010-05-04 Thread forum
Forum: Cfengine Help Subject: Re: How to run Cfengine 3 with Cfengine 2 policies? I get syntax errors. Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,16251,17093#msg-17093 I believe that the cf3 agent will invokes the cf2 agent to handle cf2 policies. As such you must

Cfengine Help: Re: List variable in inputs

2010-05-04 Thread forum
Forum: Cfengine Help Subject: Re: List variable in inputs Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17074,17092#msg-17092 > body common control > { > bundlesequence => { "base", @(test.bundles) }; > inputs => {"test.cf", @(tes

Cfengine Help: Re: How to run Cfengine 3 with Cfengine 2 policies? I get syntax errors.

2010-05-04 Thread forum
Forum: Cfengine Help Subject: Re: How to run Cfengine 3 with Cfengine 2 policies? I get syntax errors. Author: aog Link to topic: https://cfengine.com/forum/read.php?3,16251,17091#msg-17091 > Aleksey, Cfengine 3 provides the possibility for cfengine 3 and cfengine 2 to > coexist >

Cfengine Help: Re: sys.ncpu or something?

2010-05-04 Thread forum
Forum: Cfengine Help Subject: Re: sys.ncpu or something? Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17088,17090#msg-17090 Nakarin, Of course, I can make it even shorter and safer: vars: linux:: "ncpu" string => execresult(

Cfengine Help: Re: sys.ncpu or something?

2010-05-04 Thread forum
Forum: Cfengine Help Subject: Re: sys.ncpu or something? Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,17088,17089#msg-17089 Is it possible to see an exact number of CPUs with this shell command? # /bin/grep processor /proc/cpuinfo | /usr/bin/wc -l If so, we could use

Cfengine Help: sys.ncpu or something?

2010-05-04 Thread forum
Forum: Cfengine Help Subject: sys.ncpu or something? Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17088,17088#msg-17088 Hello folks, Is there any method for obtaining a number of CPUs via Cfengine? It seems like there's no sys.ncpu var

Cfengine Help: Re: Promise outcomes flip-flopping during runtime

2010-05-03 Thread forum
Forum: Cfengine Help Subject: Re: Promise outcomes flip-flopping during runtime Author: pieterb Link to topic: https://cfengine.com/forum/read.php?3,17077,17082#msg-17082 Appears to be the same bug I ran into; but in different context. Svn 976 in fact patches this. pie...@oregano:~# cf-agent -K

Cfengine Help: Re: Promise outcomes flip-flopping during runtime

2010-05-03 Thread forum
Forum: Cfengine Help Subject: Re: Promise outcomes flip-flopping during runtime Author: Authority Link to topic: https://cfengine.com/forum/read.php?3,17077,17081#msg-17081 Built and packaged from sources by myself. # cf-promises -V This comprises cf-promises core community version 3.0.4 - (C

Cfengine Help: Re: Promise outcomes flip-flopping during runtime

2010-05-03 Thread forum
Forum: Cfengine Help Subject: Re: Promise outcomes flip-flopping during runtime Author: pieterb Link to topic: https://cfengine.com/forum/read.php?3,17077,17079#msg-17079 What version are you running? I ran into a similar issue with 3.0.4p2. ___ Help

Cfengine Help: Promise outcomes flip-flopping during runtime

2010-05-02 Thread forum
Forum: Cfengine Help Subject: Promise outcomes flip-flopping during runtime Author: Authority Link to topic: https://cfengine.com/forum/read.php?3,17077,17077#msg-17077 I was trying to write a classes body that would ensure that one, and only one, of two classes would be set based on the outcome

Cfengine Help: Stopping Scalar Expansion

2010-05-01 Thread forum
Forum: Cfengine Help Subject: Stopping Scalar Expansion Author: Authority Link to topic: https://cfengine.com/forum/read.php?3,17073,17073#msg-17073 Is there a way to make Cfengine 3 treat a variable as a truly literally string and not attempt variable expansion? I like to write in BASH and

Cfengine Help: Needless/wrong SETUID reporting and logging

2010-04-30 Thread forum
Forum: Cfengine Help Subject: Needless/wrong SETUID reporting and logging Author: Authority Link to topic: https://cfengine.com/forum/read.php?3,17072,17072#msg-17072 I have a promise that sets the permissions on an binary to be SETUID root. "/usr/X11R6/bin/xscreensaver"

Cfengine Help: Re: cfengine.org mailing list memberships reminder

2010-04-30 Thread forum
Forum: Cfengine Help Subject: Re: cfengine.org mailing list memberships reminder Author: Authority Link to topic: https://cfengine.com/forum/read.php?3,17070,17071#msg-17071 That's probably not something you want to post for everyone to see. ___

Cfengine Help: Re: Super-scaled cfengine server?

2010-04-30 Thread forum
Forum: Cfengine Help Subject: Re: Super-scaled cfengine server? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17053,17061#msg-17061 You would seem to be the first to try this ;) I hope you write a paper. ___ Help-cfengine

Cfengine Help: Re: server_copy_remote IPV6 error

2010-04-29 Thread forum
Forum: Cfengine Help Subject: Re: server_copy_remote IPV6 error Author: rivercross Link to topic: https://cfengine.com/forum/read.php?3,17014,17046#msg-17046 I user "service iptables status ",it shows: Firewall is stopped but it use "telnet 192.168.1.10 6789",it shows:

Cfengine Help: Re: Write to files - Problem with Examples

2010-04-29 Thread forum
Forum: Cfengine Help Subject: Re: Write to files - Problem with Examples Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17043,17045#msg-17045 Your list is called "lines" but you refer to it later as "insert.lines".

Cfengine Help: Re: Cfengine Help: Re: Insert a block of text

2010-04-29 Thread forum
Forum: Cfengine Help Subject: Re: Cfengine Help: Re: Insert a block of text Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17042,17044#msg-17044 I don't edit files in any truly advanced way. Might select region help? http://www.cfengine.org/manuals/cf3-reference

Cfengine Help: Re: Cfengine Help: Please add full syslog support to community edition v.3

2010-04-29 Thread forum
Forum: Cfengine Help Subject: Re: Cfengine Help: Please add full syslog support to community edition v.3 Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17037,17040#msg-17040 IIRC Cf2 logged to the local syslog. Cf3 also does this. The feature Jesse pointed to is

Cfengine Help: Please add full syslog support to community edition v.3

2010-04-29 Thread forum
Forum: Cfengine Help Subject: Please add full syslog support to community edition v.3 Author: jgreer Link to topic: https://cfengine.com/forum/read.php?3,17036,17036#msg-17036 We are in the process of migrating from cf2 to cf3 and were disappointed to learn that syslog support is now absent from

Cfengine Help: Re: Insert a block of text

2010-04-29 Thread forum
Forum: Cfengine Help Subject: Re: Insert a block of text Author: pieterb Link to topic: https://cfengine.com/forum/read.php?3,17019,17034#msg-17034 It seems quite obvious that some configuration files require a determined ordering in order to function correctly. I could work around it, but that

Cfengine Help: Re: Insert a block of text

2010-04-29 Thread forum
Forum: Cfengine Help Subject: Re: Insert a block of text Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17019,17032#msg-17032 >From my current discussion with Mark Burgess, Cfengine's developer, it seems >like he maintains such approach intentionally

Cfengine Help: Re: server_copy_remote IPV6 error

2010-04-29 Thread forum
Forum: Cfengine Help Subject: Re: server_copy_remote IPV6 error Author: pieterb Link to topic: https://cfengine.com/forum/read.php?3,17014,17031#msg-17031 Check your iptables configuration to see if the client is allowed to connect to the host on that port. To test this, run 'telnet 192.168

Cfengine Help: Re: Insert a block of text

2010-04-29 Thread forum
Forum: Cfengine Help Subject: Re: Insert a block of text Author: pieterb Link to topic: https://cfengine.com/forum/read.php?3,17019,17030#msg-17030 My current code is exactly like this; as you can see there are no double quotes to escape, this cannot be the problem. The block of text gets

Cfengine Help: Re: cfengine confused by IPv6?

2010-04-29 Thread forum
Forum: Cfengine Help Subject: Re: cfengine confused by IPv6? Author: rivercross Link to topic: https://cfengine.com/forum/read.php?3,12096,17029#msg-17029 I have the same error when I use cfrun -v Connect to 192.168.1.15 = 192.168.1.15 on port 5308 cfengine:test1: Couldn't look up addre

Cfengine Help: Re: Cfengine Help: server_copy_remote IPV6 error

2010-04-28 Thread forum
Forum: Cfengine Help Subject: Re: Cfengine Help: server_copy_remote IPV6 error Author: rivercross Link to topic: https://cfengine.com/forum/read.php?3,17016,17028#msg-17028 follow your message i change the client promises.cf add like this body agent control { skipidentify=>"true";

Cfengine Help: Re: server_copy_remote IPV6 error

2010-04-28 Thread forum
Forum: Cfengine Help Subject: Re: server_copy_remote IPV6 error Author: rivercross Link to topic: https://cfengine.com/forum/read.php?3,17014,17027#msg-17027 server side message seems like ok. cf3 Listening for connections... cf3 New connections...(from 192.168.1.11/4) cf3 Spawning new thred

Cfengine Help: Re: Verifying Packages with Cf3

2010-04-28 Thread forum
Forum: Cfengine Help Subject: Re: Verifying Packages with Cf3 Author: Authority Link to topic: https://cfengine.com/forum/read.php?3,17008,17026#msg-17026 I would love to try the latest svn sources, but I can't seem to get them to build on CentOS 5. I tried using the string of commands Nic

Cfengine Help: Re: Insert a block of text

2010-04-28 Thread forum
Forum: Cfengine Help Subject: Re: Insert a block of text Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17019,17025#msg-17025 vars: "multiline" string => "This is the sample multiline variable. You only have to \"

Cfengine Help: Re: Insert a block of text

2010-04-28 Thread forum
Forum: Cfengine Help Subject: Re: Insert a block of text Author: pieterb Link to topic: https://cfengine.com/forum/read.php?3,17019,17024#msg-17024 Is there no way to make Cfengine to treat the bunch of lines as if it were only one line with breaks in them

Cfengine Help: Re: Insert a block of text

2010-04-28 Thread forum
Forum: Cfengine Help Subject: Re: Insert a block of text Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17019,17023#msg-17023 Pieter, you either need to flush the file and start it over, or to add "delete_lines:" promise into your edit_line bundle whi

Cfengine Help: Re: server_copy_remote IPV6 error

2010-04-28 Thread forum
Forum: Cfengine Help Subject: Re: server_copy_remote IPV6 error Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17014,17022#msg-17022 What are the messages on the server side? ___ Help-cfengine mailing list Help-cfengine

Cfengine Help: Re: Monitoring Cfengine processes

2010-04-28 Thread forum
Forum: Cfengine Help Subject: Re: Monitoring Cfengine processes Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17005,17021#msg-17021 If the host is up and the CF policy is sufficiently robust then no serious monitoring should be needed. A simple TCP port check would be

help-cfengine@cfengine.org

2010-04-28 Thread forum
Forum: Cfengine Help Subject: Re: Unexpected argument with no preceding option: && Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,16855,17020#msg-17020 Yes, I was using '||' as described until I realized the potential risk. Now that it's been

Cfengine Help: Insert a block of text

2010-04-28 Thread forum
Forum: Cfengine Help Subject: Insert a block of text Author: pieterb Link to topic: https://cfengine.com/forum/read.php?3,17019,17019#msg-17019 Hi, I'm trying to manage the cUPS printers.conf file within Cfengine, so printers are automatically added to all computers. I'm using a i

Cfengine Help: Getting errors when cf-agent is run

2010-04-28 Thread forum
Forum: Cfengine Help Subject: Getting errors when cf-agent is run Author: likid0 Link to topic: https://cfengine.com/forum/read.php?3,17018,17018#msg-17018 Hi. On one of my redhat linux 5.3 x86 servers, I'm getting errors each time cf-execd -F executes from cron, these are the errors a r

Cfengine Help: server_copy_remote IPV6 error

2010-04-28 Thread forum
Forum: Cfengine Help Subject: server_copy_remote IPV6 error Author: rivercross Link to topic: https://cfengine.com/forum/read.php?3,17014,17014#msg-17014 I use cfengine-3.0.4 on redhat5.4_x86 version,and try to use "cf-serverd" to distribute files to client. File Server: 19

Cfengine Help: Re: Verifying Packages with Cf3

2010-04-27 Thread forum
Forum: Cfengine Help Subject: Re: Verifying Packages with Cf3 Author: eystein Link to topic: https://cfengine.com/forum/read.php?3,17008,17012#msg-17012 Sorry, I meant /bin/true instead of /bin/false. -- Regards, Eystein ___ Help-cfengine mailing list

Cfengine Help: Re: Verifying Packages with Cf3

2010-04-27 Thread forum
Forum: Cfengine Help Subject: Re: Verifying Packages with Cf3 Author: eystein Link to topic: https://cfengine.com/forum/read.php?3,17008,17011#msg-17011 Hi, The semantics of package verification is changed since 3.0.4. You should retry your original example with the latest svn version. If you

Cfengine Help: Re: Verifying Packages with Cf3

2010-04-27 Thread forum
Forum: Cfengine Help Subject: Re: Verifying Packages with Cf3 Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17008,17010#msg-17010 While I'm not sure whether cfengine checks the return code or not, it seems to be obvious that the following clause will always r

Cfengine Help: Re: Verifying Packages with Cf3

2010-04-27 Thread forum
Forum: Cfengine Help Subject: Re: Verifying Packages with Cf3 Author: Authority Link to topic: https://cfengine.com/forum/read.php?3,17008,17009#msg-17009 I'm using community 3.0.4 built from tarball. # cf-agent --version This comprises cf-agent core community version 3.0.4 - (C) Cfengi

Cfengine Help: Verifying Packages with Cf3

2010-04-27 Thread forum
Forum: Cfengine Help Subject: Verifying Packages with Cf3 Author: Authority Link to topic: https://cfengine.com/forum/read.php?3,17008,17008#msg-17008 Verifying packages does not seem to work correctly using the snippet at the end of the post. Cfengine reports the package is installed. rpm

help-cfengine@cfengine.org

2010-04-27 Thread forum
Forum: Cfengine Help Subject: Re: Unexpected argument with no preceding option: && Author: dfriedman Link to topic: https://cfengine.com/forum/read.php?3,16855,17004#msg-17004 neilhwatson Wrote: --- > The run agent command should

Cfengine Help: Re: cf-runagent on a single host

2010-04-24 Thread forum
Forum: Cfengine Help Subject: Re: cf-runagent on a single host Author: Beto Link to topic: https://cfengine.com/forum/read.php?3,16993,16994#msg-16994 cf-runagent -H See man cf-runagent or cf-runagent -h. ___ Help-cfengine mailing list Help-cfengine

Cfengine Help: cf-runagent on a single host

2010-04-24 Thread forum
Forum: Cfengine Help Subject: cf-runagent on a single host Author: christian Link to topic: https://cfengine.com/forum/read.php?3,16993,16993#msg-16993 hi there if i run cf-runagent 192.168.70.xx -v like mentioned in concept guide it always runs cf-agent on all hosts? thanks in advance

Cfengine Help: cfexecd

2010-04-23 Thread forum
Forum: Cfengine Help Subject: cfexecd Author: kolakkar Link to topic: https://cfengine.com/forum/read.php?3,16992,16992#msg-16992 Hi, I was curious to know if we can change the configuration file for cfexecd. Which basically means i want the cfagent to run with the config file in /root/cf

Cfengine Help: Re: Hot to specify cfruncommand dynamically

2010-04-23 Thread forum
Forum: Cfengine Help Subject: Re: Hot to specify cfruncommand dynamically Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,16979,16985#msg-16985 This is for cf2 but the method would be the same for cf3. http://watson-wilson.ca/blog/cfcookbook.html

Cfengine Help: Re: package_method apt

2010-04-22 Thread forum
Forum: Cfengine Help Subject: Re: package_method apt Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,16917,16978#msg-16978 I don't use package promises very often. If you can show us more of the promise than just the body part you might get more

Cfengine Help: Re: package_method apt

2010-04-22 Thread forum
Forum: Cfengine Help Subject: Re: package_method apt Author: christian Link to topic: https://cfengine.com/forum/read.php?3,16917,16977#msg-16977 Does really nobody have an idea why this command ends in a failure of cf-agent? package_list_update_ifelapsed => "240"; # 4 hour

Cfengine Help: Re: cfengine program flow

2010-04-22 Thread forum
Forum: Cfengine Help Subject: Re: cfengine program flow Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,16957,16973#msg-16973 You are correct. Cfengine does run its actions in a certain order. See normal ordering in the reference. You are also correct that it may take

Cfengine Help: Re: RE: Cfengine Help: cfengine program flow

2010-04-21 Thread forum
Forum: Cfengine Help Subject: Re: RE: Cfengine Help: cfengine program flow Author: nicolas Link to topic: https://cfengine.com/forum/read.php?3,16959,16960#msg-16960 thanks for the fast response. it helps, i thought this is a recommendation :-/ (i should read more exactly) but one question i

Cfengine Help: cfengine program flow

2010-04-21 Thread forum
Forum: Cfengine Help Subject: cfengine program flow Author: nicolas Link to topic: https://cfengine.com/forum/read.php?3,16957,16957#msg-16957 hi I thought i understand the program flow of cfengine more or less, but today i recognized i really don't :-/ I hope anybody can helpe me to cl

Cfengine Help: Re: Interactive key trust

2010-04-20 Thread forum
Forum: Cfengine Help Subject: Re: Interactive key trust Author: cclonch Link to topic: https://cfengine.com/forum/read.php?3,16843,16941#msg-16941 This was my understanding. ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org

Cfengine Help: Re: RE: Cfengine Help: Re: rename on copy

2010-04-20 Thread forum
Forum: Cfengine Help Subject: Re: RE: Cfengine Help: Re: rename on copy Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,16933,16937#msg-16937 Neil, Marco wants to convert foo.dr to foo, not vice versa. That is body rename doesn't help, too. It would have

  1   2   3   >