summaryrefslogtreecommitdiffstats
path: root/genome-bootstrap/lib
diff options
context:
space:
mode:
authorMatt Hicks <mhicks@localhost.localdomain>2008-07-16 21:43:57 -0400
committerMatt Hicks <mhicks@localhost.localdomain>2008-07-16 21:43:57 -0400
commit1255f218b548b7f7b30ad30a5aa7151d04268abc (patch)
treef3b04e9f6334198ea6f75eb663e931ecc4b09cf7 /genome-bootstrap/lib
parent93c27104cd19d165c981bbedc7980b09b55109b2 (diff)
downloadtools-1255f218b548b7f7b30ad30a5aa7151d04268abc.tar.gz
tools-1255f218b548b7f7b30ad30a5aa7151d04268abc.tar.xz
tools-1255f218b548b7f7b30ad30a5aa7151d04268abc.zip
More updates to the cloudmaster and genome-bootstrap to record ip address
Diffstat (limited to 'genome-bootstrap/lib')
-rw-r--r--genome-bootstrap/lib/genome-bootstrap/core.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/genome-bootstrap/lib/genome-bootstrap/core.rb b/genome-bootstrap/lib/genome-bootstrap/core.rb
index 5c1121c..f569562 100644
--- a/genome-bootstrap/lib/genome-bootstrap/core.rb
+++ b/genome-bootstrap/lib/genome-bootstrap/core.rb
@@ -14,11 +14,11 @@
# a long with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+require 'rubygems'
require 'erb'
require 'yaml'
require 'restr'
require 'xmlrpc/client'
-require 'rubygems'
module GenomeBootstrap
class GenomeRepo
@@ -174,7 +174,7 @@ module GenomeBootstrap
end
def update_hostname(id, hostname)
- Restr.put("#{@cloud}/koan", :id => id, :hostname => hostname)
+ Restr.post("#{@cloud}/koan", :machine_id => id, :hostname => hostname)
end
end
end