Subversion Repositories camp_sysinfo_client_3

Rev

Rev 208 | Rev 218 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 208 Rev 211
Line 38... Line 38...
38
                                 'type' => 'file',
38
                                 'type' => 'file',
39
                                 'permission' => '600',
39
                                 'permission' => '600',
40
                                 'owner' => '<default owner>:<default group>',
40
                                 'owner' => '<default owner>:<default group>',
41
                                 'target' =>  '<bindir>'
41
                                 'target' =>  '<bindir>'
42
                              },
42
                              },
43
                           'notes' => { 
-
 
44
                                 'type' => 'file',
-
 
45
                                 'permission' => '600', 
-
 
46
                                 'owner' => '<default owner>:<default group>', 
-
 
47
                                 'target' =>  '<bindir>/installer'
-
 
48
                              },
-
 
49
                           'sysinfo-client.conf.template.yaml' => { 
-
 
50
                                 'type' => 'file',
-
 
51
                                 'permission' => '600', 
-
 
52
                                 'owner' => '<default owner>:<default group>', 
-
 
53
                                 'target' =>  '<bindir>/installer' 
-
 
54
                              },
-
 
55
                           'getSendEmail.pl' => { 
-
 
56
                                 'type' => 'file',
-
 
57
                                 'permission' => '700', 
-
 
58
                                 'owner' => '<default owner>:<default group>', 
-
 
59
                                 'target' =>  '<bindir>/installer' 
-
 
60
                              },
-
 
61
                           'installer' => {
43
                           'installer' => {
62
                                 'type' => 'directory',
44
                                 'type' => 'directory',
63
                                 'permission' => '700', 
45
                                 'permission' => '700', 
64
                                 'owner' => '<default owner>:<default group>', 
46
                                 'owner' => '<default owner>:<default group>', 
65
                                 'target' =>  '<bindir>' 
47
                                 'target' =>  '<bindir>' 
Line 284... Line 266...
284
      # We should have a nice combined configuration, so we'll write it to a temporary file
266
      # We should have a nice combined configuration, so we'll write it to a temporary file
285
      my $filename = &writeConfig( '', &showConf( $config ) );
267
      my $filename = &writeConfig( '', &showConf( $config ) );
286
      my $confFileName = $install{'configuration'}{'configuration file'};
268
      my $confFileName = $install{'configuration'}{'configuration file'};
287
      # configure.pl is already designed to combine our temp file with our current config file and write it ou
269
      # configure.pl is already designed to combine our temp file with our current config file and write it ou
288
      # so we'll just use that instead of reinventing the wheel
270
      # so we'll just use that instead of reinventing the wheel
289
      if ( $quiet ) {
271
      # just return the command to be used
290
         print "Verify configuration by executing \n$install{bindir}/configure.pl -f $filename -o $confFileName\n"
-
 
291
      } else {
-
 
292
         exec( "$install{bindir}/configure.pl -f $filename -o $confFileName" );
272
      return "$install{bindir}/configure.pl -t -q -f $filename -o $confFileName";
293
      }
-
 
294
   } # if we are building/merging configuration
273
   } # if we are building/merging configuration
295
}
274
}
-
 
275
 
-
 
276
1;