Subversion Repositories camp_sysinfo_client_3

Rev

Rev 154 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
149 rodolico 1
Modules should accept one parameter, the name of the directory which has library.pm in it
2
This is generally the current directory.
3
 
4
Thus, to call the module linux_networking, you should say
5
./linux_networking .
6
or, if you're in a different directory and the modules are in /opt/camp/sysinfo-client/modules
7
/opt/camp/sysinfo-client/modules/linux_networking /opt/camp/sysinfo-client/modules
154 rodolico 8
 
9
Modules will only be executed if:
10
   They are owned by root
11
   Their execution bit is set for root and all others are set to 0, ie 0700
12
   The file name begins with an alpha-numeric, and contains only alpha-numerics and underscores. Case does not matter
13
 
14
Each module should test to determine if it can be executed. For example, a module using ipmitool should test for its existence and
15
simply return nothing if it does not. In other words, no STDERR.