cf-monitord errors

2010-06-08 Thread Vasiliy G Tolstov
Hello. Today i'm found errors in syslog about cf-monitord. Can You help me and say - what it means and how can i ivestigate what process do this ? Jun 9 10:38:39 selfip cf-monitord[9543]: File descriptor 24 of child 30064 higher than MAX_FD, check for defunct children Jun 9 10:38:39 selfip cf-m

Configuration Management Summit

2010-06-08 Thread Daniel V Klein
With Mark's permission, I am wearing my USENIX hat for this email and promoting a couple of upcoming events that will prominently feature Cfengine... First, I'd like to make sure you are all aware of the Configuration Management Summit in Boston on June 24 (details are at http://www.usenix.org

Intro article on Cfengine 3 published in Linux-Mag.com

2010-06-08 Thread Aleksey Tsalolikhin
Neil Watson and I have an intro on Cfengine 3 article in Linux-Mag.com web site: http://www.linux-mag.com/cache/7802/1.html Best, Aleksey ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine

RE: Centralized report of repairs

2010-06-08 Thread Justin Lloyd
Mark, That's great to hear about delta report collection. Nicolas' webdav idea is intriguing but, as you point out, I was concerned about growth. Thanks, Justin -Original Message- From: Mark Burgess [mailto:mark.burg...@iu.hio.no] Sent: Monday, June 07, 2010 11:03 PM To: Nicolas Charles

Re: best way to define additional classes from module

2010-06-08 Thread Nicolas Charles
On 08/06/2010 12:49, Vasiliy G Tolstov wrote: > В Втр, 08/06/2010 в 12:35 +0200, Bas van der Vlies пишет: > > >> I just tested it and the environment variable CFALLCLASSES is not available >> when i use usemodule in a common bundle. I think you can only use this >> variable in cfagent bundle a

Re: best way to define additional classes from module

2010-06-08 Thread Vasiliy G Tolstov
В Втр, 08/06/2010 в 12:35 +0200, Bas van der Vlies пишет: > I just tested it and the environment variable CFALLCLASSES is not available > when i use usemodule in a common bundle. I think you can only use this > variable in cfagent bundle and then use it the commands promise. > > Maybe a cfengi

Re: best way to define additional classes from module

2010-06-08 Thread Bas van der Vlies
On 08-06-10 12:00, Vasiliy G Tolstov wrote: > В Втр, 08/06/2010 в 11:47 +0200, Bas van der Vlies пишет: > >> >> I think i miss understood the question. I thought you want to define >> classes via your own script/module. I am using this in my common bundle: >> {{{ >> classes: >> "GOT_INIT

Re: best way to define additional classes from module

2010-06-08 Thread Seva Gluschenko
Vasiliy, Using modules, you don't need any specific environment variables, since everything can be determined right from the module. In Perl, there are number of hardcoded variables describing the system. In shell, various uname calls together with /etc/issue content may provide you with the neces

Re: best way to define additional classes from module

2010-06-08 Thread Vasiliy G Tolstov
В Втр, 08/06/2010 в 11:47 +0200, Bas van der Vlies пишет: > > I think i miss understood the question. I thought you want to define > classes via your own script/module. I am using this in my common bundle: > {{{ > classes: > "GOT_INIT" expression => usemodule("init_sara",""); > > > a

Re: best way to define additional classes from module

2010-06-08 Thread Bas van der Vlies
On 08-06-10 10:59, Vasiliy G Tolstov wrote: > В Втр, 08/06/2010 в 10:39 +0200, Bas van der Vlies пишет: >> On 08-06-10 09:38, Vasiliy G Tolstov wrote: >>> Hello. I need to query current running system for installed services and >>> modules and want to define classes like have_mysql or have_python,

Re: best way to define additional classes from module

2010-06-08 Thread Vasiliy G Tolstov
В Втр, 08/06/2010 в 10:39 +0200, Bas van der Vlies пишет: > On 08-06-10 09:38, Vasiliy G Tolstov wrote: > > Hello. I need to query current running system for installed services and > > modules and want to define classes like have_mysql or have_python, if > > the specific service or package installe

Re: best way to define additional classes from module

2010-06-08 Thread Bas van der Vlies
On 08-06-10 09:38, Vasiliy G Tolstov wrote: > Hello. I need to query current running system for installed services and > modules and want to define classes like have_mysql or have_python, if > the specific service or package installed. > > What is the best way to run only once this module in the bu

best way to define additional classes from module

2010-06-08 Thread Vasiliy G Tolstov
Hello. I need to query current running system for installed services and modules and want to define classes like have_mysql or have_python, if the specific service or package installed. What is the best way to run only once this module in the bundle before other actions are performed (like methods