Changeset 3df9b3328fe95742ccd22d24bab5295e599588dd for fedkit
- Timestamp:
- 10/06/11 17:56:31 (8 months ago)
- Children:
- 9bde415c5ea28d84013760f1c683a92a511fc1f1
- Parents:
- b6a6206de72822cb63f7b26373273586f5b891a5
- git-committer:
- Ted Faber <faber@isi.edu> / 2011-10-06T17:56:31Z-0700
- Files:
-
- 1 modified
-
fedkit/federate.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
fedkit/federate.pl
r1d91791f 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 }
