- Timestamp:
- Oct 6, 2011 5:56:31 PM (13 years ago)
- Branches:
- compt_changes, info-ops, master
- Children:
- 9bde415
- Parents:
- b6a6206
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedkit/federate.pl
rb6a6206 r3df9b33 21 21 my $tmcc_p = new IO::Pipe() || die "Can't open pipe: $!\n"; 22 22 my $shared_config_dir; 23 my $shared_seer_auth_dir; 23 24 my $local_config_dir = "/usr/local/federation/etc"; 24 25 my %services; … … 63 64 ($proj, $exp) = ($1, $2); 64 65 $shared_config_dir = "/proj/$proj/exp/$exp/tmp"; 66 $shared_seer_auth_dir = "/proj/$proj/exp/$exp/tbdata"; 65 67 last; 66 68 }; … … 70 72 mkdir($local_config_dir); 71 73 72 foreach my $fn ("seer.conf", "client.conf", "userconf", "hosts") { 74 foreach my $fn ("seer.conf", "client.conf", "userconf", "hosts", 75 "ca.pem", "node.pem") { 73 76 copy("$shared_config_dir/$fn", $local_config_dir ) 74 77 if -e "$shared_config_dir/$fn"; 78 } 79 80 # Copy seer authorization files into the location that standard SEER 81 # invocations will look. The above loop puts them where -F invocations 82 # will look. 83 foreach my $fn ("ca.pem", "node.pem") { 84 copy("$shared_config_dir/$fn", $shared_seer_auth_dir ) 85 if -e "$shared_config_dir/$fn" && -d $shared_seer_auth_dir; 75 86 } 76 87 }
Note: See TracChangeset
for help on using the changeset viewer.