Cfengine Help: Re: Extended solutions guide and YOUR HELP!

2010-12-23 Thread no-reply
Forum: Cfengine Help Subject: Re: Extended solutions guide and YOUR HELP! Author: mark Link to topic: https://cfengine.com/forum/read.php?3,19429,19916#msg-19916 Thank you for keeping this thread alive. It is never far from my thoughts .At the moment my vision of the system is to make a worthy pr

Cfengine Help: Re: cf-serverd error on restart

2010-12-23 Thread no-reply
Forum: Cfengine Help Subject: Re: cf-serverd error on restart Author: mark Link to topic: https://cfengine.com/forum/read.php?3,19900,19917#msg-19917 Ouch. My guess would be a build error somewhere. I've never seen this. Try a clean rebuild? ___ Help-c

How to refer to an slist defined in a common bundle?

2010-12-23 Thread Erlend Leganger
I am tidying up my policies a bit and thought it was a good idea to put various common settings into a common bundle. This works fine for regular text variables, but I had problems referring to globally defined slists (see tester1 below). The kludge I came up with (see tester2 below) was to copy th

Cfengine Help: Re: Cfengine Help: [SMTP] How to specify fully-qualified from address (cfengine2)

2010-12-23 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: [SMTP] How to specify fully-qualified from address (cfengine2) Author: raffen Link to topic: https://cfengine.com/forum/read.php?3,19904,19924#msg-19924 Natxo Asenjo Wrote: --- > On Wed, Dec 22, 2

Re: How to refer to an slist defined in a common bundle?

2010-12-23 Thread Daniel Dehennin
Erlend Leganger writes: > I am tidying up my policies a bit and thought it was a good idea to > put various common settings into a common bundle. This works fine for > regular text variables, but I had problems referring to globally > defined slists (see tester1 below). The kludge I came up with

Cfengine Help: Re: Cfengine Help: cf-serverd memory leak still (v3.1.2)

2010-12-23 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: cf-serverd memory leak still (v3.1.2) Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,19854,19926#msg-19926 @Nicolas Could you provide me version number of libdb, libcrypto and libpcre you are using? I'd like to test a bit a

Cfengine Help: Re: How to refer to an slist defined in a common bundle?

2010-12-23 Thread no-reply
Forum: Cfengine Help Subject: Re: How to refer to an slist defined in a common bundle? Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,19923,19927#msg-19927 That's the way to use global slist variables. :-) Cheers, --Nakarin ___

Cfengine Help: processes: warn if not running but not restart [cfengine2]

2010-12-23 Thread no-reply
Forum: Cfengine Help Subject: processes: warn if not running but not restart [cfengine2] Author: raffen Link to topic: https://cfengine.com/forum/read.php?3,19928,19928#msg-19928 Is there a way to just warn/alert if a process is not running *without* restarting it? processes: "vsftpd" res

Re: Cfengine Help: Re: Cfengine Help: cf-serverd memory leak still (v3.1.2)

2010-12-23 Thread Nicolas Charles
On 23/12/2010 10:56, no-re...@cfengine.com wrote: > Forum: Cfengine Help > Subject: Re: Cfengine Help: cf-serverd memory leak still (v3.1.2) > Author: phnakarin > Link to topic: https://cfengine.com/forum/read.php?3,19854,19926#msg-19926 > > @Nicolas > > Could you provide me version number of libdb

Cfengine Help: Re: Managing Solaris logadm.conf

2010-12-23 Thread no-reply
Forum: Cfengine Help Subject: Re: Managing Solaris logadm.conf Author: berntjernberg Link to topic: https://cfengine.com/forum/read.php?3,17248,19930#msg-19930 Hi, To edit the pacct-line I solved it like this. Surely you can make a more general solution but this worked for me. Any thoughts or re

Cfengine Help: Re: Cfengine Help: cf-serverd memory leak still (v3.1.2)

2010-12-23 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: cf-serverd memory leak still (v3.1.2) Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,19854,19931#msg-19931 I got an interesting result after upgrading dependencies from (1) db-5.0.21 to db-5.1.19 (2) pcre-8.02 to pcre-8.11 (

Cfengine Help: Re: Managing Solaris logadm.conf

2010-12-23 Thread no-reply
Forum: Cfengine Help Subject: Re: Managing Solaris logadm.conf Author: berntjernberg Link to topic: https://cfengine.com/forum/read.php?3,17248,19932#msg-19932 Hi again, Line: edit_line => replace_line("^/var/adm/pacct.*(?!-s 75m -z 1)$","$(valid_pacct_line)"), could be changed to edit_lin

Cfengine Help: Re: processes: warn if not running but not restart [cfengine2]

2010-12-23 Thread no-reply
Forum: Cfengine Help Subject: Re: processes: warn if not running but not restart [cfengine2] Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,19928,19933#msg-19933 # not syntax checked but, you get the idea processess: vsftpd" restart "/etc/init.d/vsftpd start" restart_

Cfengine Help: Minor website complaint

2010-12-23 Thread no-reply
Forum: Cfengine Help Subject: Minor website complaint Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,19934,19934#msg-19934 It would be nice if one could navigate cfengine.org without needing javascript. Currently it is difficult to to navigate and download using elinks.

Re: How to refer to an slist defined in a common bundle?

2010-12-23 Thread Erlend Leganger
Thanks - this was all documented, so I should have found it while RTFM. The gist is that you can do ${g.my_global_textvar}, but for slists you have to first do my_global_slist slist => {...@{g.my_global_slist}} to make a local copy, then you can do ${my_global_slist}. Just another thing to remember

Cfengine Help: Re: Cfengine Help: How to configure a client machine to contact the policy server and downloads updates?

2010-12-23 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: How to configure a client machine to contact the policy server and downloads updates? Author: David Brazzeal Link to topic: https://cfengine.com/forum/read.php?3,19909,19936#msg-19936 Thanks Nick! Did you add your update.cf file as well? I don't se

Cfengine Help: Re: Cfengine Help: How to configure a client machine to contact the policy server and downloads updates?

2010-12-23 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: How to configure a client machine to contact the policy server and downloads updates? Author: David Brazzeal Link to topic: https://cfengine.com/forum/read.php?3,19909,19937#msg-19937 Thanks again Nick! I copied your failsafe.cf and the unmodified

Re: Cfengine Help: Re: Cfengine Help: How to configure a client machine to contact the policy server and downloads updates?

2010-12-23 Thread Nick Anderson
On 12/23/2010 01:56 PM, no-re...@cfengine.com wrote: > Thanks again Nick! > I copied your failsafe.cf and the unmodified default update.cf that comes > with the installation to /var/cfengine/inputs on the agent, then issued this > command: > cf-agent -B -s dbraz17 > > and I get this error: >

Cfengine Help: Re: Cfengine Help: Re: Cfengine Help: How to configure a client machine to contact the policy server and downloads updates?

2010-12-23 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Re: Cfengine Help: How to configure a client machine to contact the policy server and downloads updates? Author: David Brazzeal Link to topic: https://cfengine.com/forum/read.php?3,19909,19939#msg-19939 Thanks Nick. I'll try that and let you know t

Re: Cfengine Help: Re: Cfengine Help: How to configure a client machine to contact the policy server and downloads updates?

2010-12-23 Thread Deb Heller
So, couldn't you, at the command line on the client host, issue this command to initiate the key exchange? cf-agent -B -s policy_server (where "policy_server" is the hostname or IP address of the policy server) As long as the server trusts the client, the keys should be exchanged and you're go

Re: Cfengine Help: Re: Cfengine Help: How to configure a client machine to contact the policy server and downloads updates?

2010-12-23 Thread Nick Anderson
On 12/23/2010 04:03 PM, Deb Heller wrote: > So, couldn't you, at the command line on the client host, issue this > command to initiate the key exchange? > > cf-agent -B -s policy_server > > (where "policy_server" is the hostname or IP address of the policy server) > > As long as the server trus

Re: Cfengine Help: Re: Cfengine Help: How to configure a client machine to contact the policy server and downloads updates?

2010-12-23 Thread Nicolas Charles
On 24/12/2010 01:45, Nick Anderson wrote: > > That doesn't work, with a clean install. > #. Install cfengine via rpm > #. run cf-key > #. copy failsafe.cf to /var/cfengine/inputs > #. bootstrap with failsafe > > # cf-agent -BK -s 192.168.1.129 > !! Not authorized to trust the server=192.168.1.129

Re: Cfengine Help: Re: Cfengine Help: How to configure a client machine to contact the policy server and downloads updates?

2010-12-23 Thread Deb Heller
Excellent, Nicolas! I want to run the community edition on systems not connected with our main network, and the nuances between that and Nova can be baffling. I found a section that says a little more about what you posted in the Cfengine 3 Concept Guide, Section 7.3.3 Key exchange: 7

Re: Cfengine Help: Re: Cfengine Help: How to configure a client machine to contact the policy server and downloads updates?

2010-12-23 Thread Nick Anderson
On 12/23/2010 06:56 PM, Nicolas Charles wrote: > The bootstrap itself is not sufficiant on a community edition. You'll > need to exchange the key by doing an interactive session with cf-runagent : > # cf-runagent -i -H 192.168.1.129 > > With this, you'll be able to accept 192.168.1.129's key on y

Re: Cfengine Help: Re: Cfengine Help: How to configure a client machine to contact the policy server and downloads updates?

2010-12-23 Thread Nicolas Charles
On 24/12/2010 02:12, Nick Anderson wrote: > On 12/23/2010 06:56 PM, Nicolas Charles wrote: >> The bootstrap itself is not sufficiant on a community edition. You'll >> need to exchange the key by doing an interactive session with cf-runagent : >> # cf-runagent -i -H 192.168.1.129 >> >> With this, yo

Re: Cfengine Help: Re: Cfengine Help: How to configure a client machine to contact the policy server and downloads updates?

2010-12-23 Thread Nick Anderson
On 12/23/2010 07:22 PM, Nicolas Charles wrote: > Ha, I must have misunderstood something > You should have a policy server, with a whole set of promises, which > accept the connection for a client (and possibly trust its key) > On the client, you should do the cf-runagent to accept the policy serv