summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2008-07-09 18:42:34 -0400
committerBrenton Leanhardt <bleanhar@redhat.com>2008-07-09 18:58:29 -0400
commitaa447cdc80f1affd69fec5d14d07bc92e979b1cb (patch)
tree35ec2217da5bfa205eeb7f349e19939622a9a3e3
parent08db4adc0fcaab1be3eb4cdeb0d90efd458e35cf (diff)
downloadtools-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.spec2
-rw-r--r--genome-bootstrap/lib/genome-bootstrap/core.rb2
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]