ironfan 4.3.2 → 4.3.3

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ # v4.3.3:
2
+ * Fixed "Terminated machines don't show up even with -VV" (#180)
3
+ * Removing superfluous old steps from cluster_launch
4
+ * Stringification of attributes and in_raid type
5
+
1
6
  # v4.3.2:
2
7
  * Adding cluster_name to cluster, to allow consistent semantics whether in cluster or facet
3
8
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 4.3.2
1
+ 4.3.3
data/ironfan.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "ironfan"
8
- s.version = "4.3.2"
8
+ s.version = "4.3.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Infochimps"]
12
- s.date = "2012-10-03"
12
+ s.date = "2012-10-10"
13
13
  s.description = "Ironfan allows you to orchestrate not just systems but clusters of machines. It includes a powerful layer on top of knife and a collection of cloud cookbooks."
14
14
  s.email = "coders@infochimps.com"
15
15
  s.extra_rdoc_files = [
@@ -87,7 +87,6 @@ class Chef
87
87
  Ironfan.step(computer.name, 'launching', :white)
88
88
  perform_after_launch_tasks(computer)
89
89
  end
90
- # progressbar_for_threads(watcher_threads)
91
90
 
92
91
  display(target)
93
92
  end
@@ -95,22 +94,14 @@ class Chef
95
94
  def perform_after_launch_tasks(computer)
96
95
  Ironfan.step(computer.name, 'waiting for ready', :white)
97
96
  # Wait for machine creation on amazon side
98
- # server.fog_server.wait_for{ ready? }
99
97
  computer.machine.wait_for{ ready? }
100
98
 
101
99
  # Try SSH
102
100
  unless config[:dry_run]
103
101
  Ironfan.step(computer.name, 'trying ssh', :white)
104
- # nil until tcp_test_ssh(server.fog_server.dns_name){ sleep @initial_sleep_delay ||= 10 }
105
102
  nil until tcp_test_ssh(computer.machine.dns_name){ sleep @initial_sleep_delay ||= 10 }
106
103
  end
107
104
 
108
- # # Make sure our list of volumes is accurate
109
- # Ironfan.fetch_fog_volumes
110
- # server.discover_volumes!
111
-
112
- # Attach volumes, etc
113
- # server.sync_to_cloud
114
105
  Ironfan.step(computer.name, 'final provisioning', :white)
115
106
  computer.save
116
107
 
@@ -35,7 +35,7 @@ class Chef
35
35
  :boolean => true
36
36
 
37
37
  def run
38
- with_verbosity(1){ config[:include_terminated] }
38
+ with_verbosity(1){ config[:include_terminated] = true }
39
39
  load_ironfan
40
40
  die(banner) if @name_args.empty?
41
41
  configure_dry_run
@@ -10,12 +10,12 @@ module Ironfan
10
10
 
11
11
  # A drive should include volume attributes in any node references
12
12
  def node()
13
- result = super
14
- result.merge! volume.attributes unless volume.nil?
13
+ result = super.stringify_keys
14
+ result.merge! volume.compact_attributes.stringify_keys unless volume.nil?
15
15
  result
16
16
  end
17
17
 
18
18
  end
19
19
 
20
20
  end
21
- end
21
+ end
@@ -10,7 +10,7 @@ module Ironfan
10
10
  magic :device, String
11
11
  magic :formattable, :boolean, :default => false
12
12
  magic :fstype, String, :default => 'xfs'
13
- magic :in_raid, :boolean, :default => false
13
+ magic :in_raid, String
14
14
  magic :keep, :boolean, :default => true
15
15
  magic :mount_dump, String
16
16
  magic :mount_pass, String
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: ironfan
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 4.3.2
5
+ version: 4.3.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Infochimps
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-10-03 00:00:00 Z
13
+ date: 2012-10-10 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: chef
@@ -233,7 +233,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
233
233
  requirements:
234
234
  - - ">="
235
235
  - !ruby/object:Gem::Version
236
- hash: 3099190191328474460
236
+ hash: 398445846014237700
237
237
  segments:
238
238
  - 0
239
239
  version: "0"