ironfan 4.7.0 → 4.7.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # v4.7.1
2
+ * Cleaning up omnibus usage to link embedded bin, ruby into default $PATHs, rather than use /etc/environment to try tweaking (doesn't hit a large number of programs)
3
+ * Launched machines should announce their state as "started"
4
+
1
5
  # v4.7.0:
2
6
  (@nickmarden rocks the house again)
3
7
  * Added support for "prepare" phase, prior to any machine-specific actions
data/VERSION CHANGED
@@ -1 +1 @@
1
- 4.7.0
1
+ 4.7.1
@@ -44,15 +44,12 @@ if [ ! -f /opt/chef/bin/chef-client ]; then
44
44
  curl -L http://www.opscode.com/chef/install.sh | sudo bash
45
45
  fi
46
46
 
47
- # Include the omnibus' path in the system-wide path, to allow use of
48
- # its executables (gem, ruby, bundler, etc.)
49
- (
50
- cat <<'EOP'
51
- PATH="/opt/chef/embedded/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
52
- EOP
53
- ) >> /etc/environment
54
- . /etc/environment
47
+ # Replace /usr/local/sbin with the omnibus' bin, to get it into the PATH
48
+ mv /usr/local/sbin{,~}
49
+ ln -s /opt/chef/embedded/bin /usr/local/sbin
55
50
 
51
+ # Link ruby into /usr/bin/ruby, to allow /usr/bin/env
52
+ ln -s /opt/chef/embedded/bin/ruby /usr/bin
56
53
 
57
54
  gem install extlib bundler json right_aws pry fog
58
55
 
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.7.0"
8
+ s.version = "4.7.1"
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-12-14"
12
+ s.date = "2012-12-20"
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 = [
@@ -44,15 +44,12 @@ if [ ! -f /opt/chef/bin/chef-client ]; then
44
44
  curl -L http://www.opscode.com/chef/install.sh | sudo bash
45
45
  fi
46
46
 
47
- # Include the omnibus' path in the system-wide path, to allow use of
48
- # its executables (gem, ruby, bundler, etc.)
49
- (
50
- cat <<'EOP'
51
- PATH="/opt/chef/embedded/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
52
- EOP
53
- ) >> /etc/environment
54
- . /etc/environment
47
+ # Replace /usr/local/sbin with the omnibus' bin, to get it into the PATH
48
+ mv /usr/local/sbin{,~}
49
+ ln -s /opt/chef/embedded/bin /usr/local/sbin
55
50
 
51
+ # Link ruby into /usr/bin/ruby, to allow /usr/bin/env
52
+ ln -s /opt/chef/embedded/bin/ruby /usr/bin
56
53
 
57
54
  gem install extlib bundler json right_aws pry fog
58
55
 
@@ -75,6 +75,7 @@ module Ironfan
75
75
  def launch
76
76
  ensure_dependencies
77
77
  iaas_provider.machine_class.create! self
78
+ node.announce_state :started
78
79
  save
79
80
  self
80
81
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: ironfan
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 4.7.0
5
+ version: 4.7.1
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-12-14 00:00:00 Z
13
+ date: 2012-12-20 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: chef
@@ -282,7 +282,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
282
282
  requirements:
283
283
  - - ">="
284
284
  - !ruby/object:Gem::Version
285
- hash: -2214564911911745674
285
+ hash: 580195916744630251
286
286
  segments:
287
287
  - 0
288
288
  version: "0"