summaryrefslogtreecommitdiffstats
path: root/cloud/bin
diff options
context:
space:
mode:
authorGreg Blomquist <gblomqui@redhat.com>2008-06-19 11:26:41 -0400
committerGreg Blomquist <gblomqui@redhat.com>2008-06-19 11:26:41 -0400
commit4f244d65c5c2e4ffb4b38e00baa5f83de89c20d8 (patch)
tree3766d2acc9bab1e67f59265ddf65eaf11524b0eb /cloud/bin
parent6589df757f98b386afda6bbb1b076577b96b8ae2 (diff)
Creating a "cloud controller" daemon to run on cloud machines and provision virtual machines within the cloud.
Updated everest-bootstrap to call the cloud controller when provisioning machines Removed "koan" operations from everestd. Now everestd only knows how to register machines with everest and cobbler. Basically a rollback to its previous version.
Diffstat (limited to 'cloud/bin')
-rw-r--r--cloud/bin/cloud14
-rw-r--r--cloud/bin/cloud-ctl8
2 files changed, 22 insertions, 0 deletions
diff --git a/cloud/bin/cloud b/cloud/bin/cloud
new file mode 100644
index 0000000..ff14dc9
--- /dev/null
+++ b/cloud/bin/cloud
@@ -0,0 +1,14 @@
+#!/usr/bin/env ruby
+#
+# Created by Brenton Leanhardt on 2008-4-9.
+# Copyright (c) 2008. All rights reserved.
+
+require 'rubygems'
+require 'picnic/cli'
+
+cli = Picnic::Cli.new(
+ 'cloud',
+ :app_path => File.expand_path(File.dirname(File.expand_path(__FILE__)))
+)
+
+cli.handle_cli_input
diff --git a/cloud/bin/cloud-ctl b/cloud/bin/cloud-ctl
new file mode 100644
index 0000000..b38a487
--- /dev/null
+++ b/cloud/bin/cloud-ctl
@@ -0,0 +1,8 @@
+#!/usr/bin/env ruby
+
+require 'rubygems'
+require 'picnic/service_control'
+
+ctl = Picnic::ServiceControl.new('cloud')
+
+ctl.handle_cli_input