diff options
author | Brenton Leanhardt <bleanhar@redhat.com> | 2008-07-09 18:42:34 -0400 |
---|---|---|
committer | Brenton Leanhardt <bleanhar@redhat.com> | 2008-07-09 18:58:29 -0400 |
commit | aa447cdc80f1affd69fec5d14d07bc92e979b1cb (patch) | |
tree | 35ec2217da5bfa205eeb7f349e19939622a9a3e3 | |
parent | 08db4adc0fcaab1be3eb4cdeb0d90efd458e35cf (diff) | |
download | tools-aa447cdc80f1affd69fec5d14d07bc92e979b1cb.tar.gz tools-aa447cdc80f1affd69fec5d14d07bc92e979b1cb.tar.xz tools-aa447cdc80f1affd69fec5d14d07bc92e979b1cb.zip |
Proxying the cobbler requests through apache
This keeps us from needed our hack to bind the rw api on all interfaces
-rw-r--r-- | genome-bootstrap/extra/genome-bootstrap.spec | 2 | ||||
-rw-r--r-- | genome-bootstrap/lib/genome-bootstrap/core.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/genome-bootstrap/extra/genome-bootstrap.spec b/genome-bootstrap/extra/genome-bootstrap.spec index 04018f5..71b4d1c 100644 --- a/genome-bootstrap/extra/genome-bootstrap.spec +++ b/genome-bootstrap/extra/genome-bootstrap.spec @@ -7,7 +7,7 @@ Summary: Tool for provisioning virtual machines Name: rubygem-%{gemname} Version: 1.0.0 -Release: 2%{?dist} +Release: 3%{?dist} Group: Development/Languages License: Ruby License/GPL Source0: %{gemname}-%{version}.gem diff --git a/genome-bootstrap/lib/genome-bootstrap/core.rb b/genome-bootstrap/lib/genome-bootstrap/core.rb index 44d70b6..6a5c6c6 100644 --- a/genome-bootstrap/lib/genome-bootstrap/core.rb +++ b/genome-bootstrap/lib/genome-bootstrap/core.rb @@ -30,7 +30,7 @@ module GenomeBootstrap @genomed = "http://#{@fqdn}/genome" @machine_types_url = @genomed + "/machine_types.html" - @cobblerd = XMLRPC::Client.new2("http://#{@fqdn}:25152") + @cobblerd = XMLRPC::Client.new2("http://#{@fqdn}/cobbler_api_rw") # TODO: figure out a way to pass these values in @token = @cobblerd.call2("login", "cobbler", "password")[1] |