ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/FreeBSDAdmin/HostUpdate/HostUpdate.pl
(Generate patch)

Comparing HostUpdate/hostupdate.pl (file contents):
Revision 766 by Douglas Thrift, 2004-03-02T14:33:57-08:00 vs.
Revision 767 by douglas, 2006-05-12T03:51:36-07:00

# Line 16 | Line 16 | my ($sysname, $nodename, $release, $vers
16  
17   if (!($nodename =~ /\./))
18   {
19 <        $nodename .= ".local.douglasthrift.net";
19 >        $nodename .= ".douglasthrift.net";
20   }
21  
22   $agent->agent("Host Update/1.0 ($sysname $release $machine) ");
23  
24 < my $response = $agent->post("http://topsecret.douglasthrift.net/auth/hostupdat"
25 <        . "e.cgi", [host => $nodename], Authorization => "Basic " .
26 <        encode_base64("HostUpdate:frell2003"));
24 > my $response = $agent->post("http://topsecret.douglasthrift.net/auth/hostupdate.cgi", [host => $nodename], Authorization => "Basic " . encode_base64("HostUpdate:frell2003"));
25   my $content = $response->content;
26  
27   print "$content";

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines