ironfan 4.5.0 → 4.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +4 -0
- data/VERSION +1 -1
- data/config/ubuntu12.04-ironfan.erb +11 -5
- data/ironfan.gemspec +2 -2
- data/lib/chef/knife/bootstrap/ubuntu12.04-ironfan.erb +11 -5
- data/lib/ironfan/provider/ec2/machine.rb +0 -1
- metadata +3 -3
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
# v4.5.1:
|
2
|
+
* Clean up on 12.04 template - do dist-upgrade, include omnibus bin in $PATH, nicer first-boot.json
|
3
|
+
* Removing superfluous raise on duplicate machines during load
|
4
|
+
|
1
5
|
# v4.5.0: upgraded to 12.04 bootstrap
|
2
6
|
* First stab at 12.04 from @nickmarden's pull #171 - uses omnibus, not autobuild ruby
|
3
7
|
* Removed bad 11.10 bootstrap script - used incompatible ruby install
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
4.5.
|
1
|
+
4.5.1
|
@@ -18,7 +18,7 @@ date > /etc/box_build_time
|
|
18
18
|
|
19
19
|
echo -e "`date` \n\n**** \n**** apt update:\n****\n"
|
20
20
|
apt-get --force-yes -y update
|
21
|
-
apt-get --force-yes -y upgrade
|
21
|
+
apt-get --force-yes -y dist-upgrade
|
22
22
|
|
23
23
|
echo -e "`date` \n\n**** \n**** Installing base packages:\n****\n"
|
24
24
|
apt-get --force-yes -y install build-essential make wget curl runit zlib1g-dev libssl-dev openssl libcurl4-openssl-dev libxml2-dev libxslt-dev libyaml-dev libreadline6 libreadline6-dev
|
@@ -44,9 +44,15 @@ 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
|
-
#
|
48
|
-
|
49
|
-
|
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
|
55
|
+
|
50
56
|
|
51
57
|
gem install extlib bundler json right_aws pry fog
|
52
58
|
|
@@ -88,7 +94,7 @@ EOP
|
|
88
94
|
|
89
95
|
(
|
90
96
|
cat <<'EOP'
|
91
|
-
<%= { "
|
97
|
+
<%= { "cluster_name" => @config[:server].cluster_name, "facet_name" => @config[:server].facet_name, "facet_index" => @config[:server].index, "environment" => @config[:server].environment }.to_json%>
|
92
98
|
EOP
|
93
99
|
) > /etc/chef/first-boot.json
|
94
100
|
|
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.5.
|
8
|
+
s.version = "4.5.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-11-
|
12
|
+
s.date = "2012-11-14"
|
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 = [
|
@@ -18,7 +18,7 @@ date > /etc/box_build_time
|
|
18
18
|
|
19
19
|
echo -e "`date` \n\n**** \n**** apt update:\n****\n"
|
20
20
|
apt-get --force-yes -y update
|
21
|
-
apt-get --force-yes -y upgrade
|
21
|
+
apt-get --force-yes -y dist-upgrade
|
22
22
|
|
23
23
|
echo -e "`date` \n\n**** \n**** Installing base packages:\n****\n"
|
24
24
|
apt-get --force-yes -y install build-essential make wget curl runit zlib1g-dev libssl-dev openssl libcurl4-openssl-dev libxml2-dev libxslt-dev libyaml-dev libreadline6 libreadline6-dev
|
@@ -44,9 +44,15 @@ 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
|
-
#
|
48
|
-
|
49
|
-
|
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
|
55
|
+
|
50
56
|
|
51
57
|
gem install extlib bundler json right_aws pry fog
|
52
58
|
|
@@ -88,7 +94,7 @@ EOP
|
|
88
94
|
|
89
95
|
(
|
90
96
|
cat <<'EOP'
|
91
|
-
<%= { "
|
97
|
+
<%= { "cluster_name" => @config[:server].cluster_name, "facet_name" => @config[:server].facet_name, "facet_index" => @config[:server].index, "environment" => @config[:server].environment }.to_json%>
|
92
98
|
EOP
|
93
99
|
) > /etc/chef/first-boot.json
|
94
100
|
|
@@ -108,7 +108,6 @@ module Ironfan
|
|
108
108
|
next unless Ironfan.chef_config[:include_terminated]
|
109
109
|
remember machine, :append_id => "terminated:#{machine.id}"
|
110
110
|
elsif recall? machine.name
|
111
|
-
raise 'duplicate'
|
112
111
|
machine.bogus << :duplicate_machines
|
113
112
|
recall(machine.name).bogus << :duplicate_machines
|
114
113
|
remember machine, :append_id => "duplicate:#{machine.id}"
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: ironfan
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 4.5.
|
5
|
+
version: 4.5.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-11-
|
13
|
+
date: 2012-11-14 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: chef
|
@@ -281,7 +281,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
281
281
|
requirements:
|
282
282
|
- - ">="
|
283
283
|
- !ruby/object:Gem::Version
|
284
|
-
hash: -
|
284
|
+
hash: -4226427612594670863
|
285
285
|
segments:
|
286
286
|
- 0
|
287
287
|
version: "0"
|