В Втр, 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",""); > > > and in this module i have the following simple test: > #!/bin/sh > > if [ -f /etc/lisa ] > then > echo +LISA > fi >
I want to define classes in module, but i need for example environment variable to get know^ which os linux i'm use, and do specific task to get information. -- Vasiliy G Tolstov <v.tols...@selfip.ru> Selfip.Ru _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine