Subversion Repositories camp_sysinfo_client_3

Rev

Rev 42 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 42 Rev 44
Line 15... Line 15...
15
 
15
 
16
use Exporter;
16
use Exporter;
17
 
17
 
18
our @ISA = qw( Exporter );
18
our @ISA = qw( Exporter );
19
our @EXPORT = qw( $clientName $serialNumber $hostname @moduleDirs @scriptDirs 
19
our @EXPORT = qw( $clientName $serialNumber $hostname @moduleDirs @scriptDirs 
20
                  $transports $sysinfo3 %sendTypes $binDir $modulesDir
20
                  $transports $sysinfo3 %sendTypes $binDir $moduleDir
21
                  $scriptsDir $confDir $binName $confName
21
                  $scriptDir $confDir $binName $confName
22
                  &showConf &transportsToConfig &getAnswer &yesno  
22
                  &showConf &transportsToConfig &getAnswer &yesno  
23
                  &writeConfig &processParameters $TESTING &checkDirectoryExists
23
                  &writeConfig &processParameters $TESTING &checkDirectoryExists
24
                  &runCommand &setDryRun &enableModules
24
                  &runCommand &setDryRun &enableModules
25
                );
25
                );
26
 
26
 
Line 35... Line 35...
35
# the following are keys which are specific to the different transport channels
35
# the following are keys which are specific to the different transport channels
36
 
36
 
37
our $sysinfo3 = '/etc/camp/sysinfo-client/sysinfo-client.conf';
37
our $sysinfo3 = '/etc/camp/sysinfo-client/sysinfo-client.conf';
38
 
38
 
39
our $binDir = '/opt/camp/sysinfo-client';
39
our $binDir = '/opt/camp/sysinfo-client';
40
our $modulesDir = $binDir . '/modules';
40
our $moduleDir = $binDir . '/modules';
41
our $scriptsDir = $binDir . '/scripts';
41
our $scriptDir = $binDir . '/scripts';
42
our $confDir = '/etc/camp/sysinfo-client';
42
our $confDir = '/etc/camp/sysinfo-client';
43
 
43
 
44
our $binName = 'sysinfo-client';
44
our $binName = 'sysinfo-client';
45
our $confName = 'sysinfo-client.conf';
45
our $confName = 'sysinfo-client.conf';
46
 
46