Skip to content

Commit

Permalink
Kind of works
Browse files Browse the repository at this point in the history
  • Loading branch information
rberger committed May 2, 2011
1 parent c18a329 commit 70c6970
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion lib/chef/knife/cluster_bootstrap.rb
Expand Up @@ -23,7 +23,7 @@
require 'json'
require 'cluster_chef'

module ClusterChef
module Cluster

class ClusterBootstrap < Chef::Knife
banner "knife cluster bootstrap CLUSTER_NAME FACET_NAME SERVER_FQDN (options)"
Expand Down
2 changes: 1 addition & 1 deletion lib/chef/knife/cluster_launch.rb
Expand Up @@ -21,7 +21,7 @@
require 'json'
require 'cluster_chef'

module ClusterChef
module Cluster

class ClusterLaunch < Chef::Knife

Expand Down
4 changes: 2 additions & 2 deletions lib/chef/knife/cluster_show.rb
Expand Up @@ -20,7 +20,7 @@
require 'json'
require 'cluster_chef'

module ClusterChef
module Cluster

class ClusterShow < Chef::Knife

Expand Down Expand Up @@ -63,7 +63,7 @@ def run
# Launch server
#
servers = facet.list_servers.select{|s| s.state == "running" }
p Cluster.cluster_facets
p ClusterChef::Cluster.cluster_facets

end
end
Expand Down
8 changes: 4 additions & 4 deletions lib/cluster.rb → lib/cluster_chef.rb
@@ -1,7 +1,7 @@
require 'cluster/dsl_object'
require 'cluster/cloud'
require 'cluster/security_group'
require 'cluster/compute'
require 'cluster_chef/dsl_object'
require 'cluster_chef/cloud'
require 'cluster_chef/security_group'
require 'cluster_chef/compute'

module Cluster
Chef::Config[:clusters] ||= {}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 70c6970

Please sign in to comment.