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
В Втр, 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
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
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
В Втр, 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
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,
В Втр, 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
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
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