provisionator 0.0.10 → 0.0.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -77,7 +77,6 @@ module Provisionator
77
77
  count: 1
78
78
  }
79
79
  instance_options.merge!(block_device_mappings: block_device_mappings) if block_device_mappings.keys.any?
80
- puts instance_options.inspect
81
80
  instance = ec2.instances.create(instance_options)
82
81
 
83
82
  instance.tags['Name'] = "#{@options[:app_name]}-#{@options[:chef_node]}-#{availability_zone.split('').last}-#{instance.id}"
@@ -41,17 +41,7 @@ exec > >(tee /var/log/user-data.log|logger -t user-data -s 2>/dev/console) 2>&1
41
41
  <% end %>
42
42
  <% end %>
43
43
 
44
- echo "export LANGUAGE=en_US.UTF-8" > /tmp/locale
45
- echo "export LANG=en_US.UTF-8" >> /tmp/locale
46
- echo "export LC_ALL=en_US.UTF-8" >> /tmp/locale
47
- cat /etc/bash.bashrc >> /tmp/locale
48
- grep "export LANGUAGE=en_US.UTF-8" /etc/bash.bashrc || cp /tmp/locale /etc/bash.bashrc
49
- locale-gen en_US.UTF-8
50
- dpkg-reconfigure locales
51
-
52
44
  apt-get update
53
- apt-get upgrade -y
54
- ntpdate ntp.ubuntu.com
55
45
 
56
46
  function add_line_to_file {
57
47
  (test -f "$2" && grep "$1" $2) || echo "$1" >> $2
@@ -1,3 +1,3 @@
1
1
  module Provisionator
2
- VERSION = "0.0.10"
2
+ VERSION = "0.0.11"
3
3
  end
data/pre_bootstrap.txt CHANGED
@@ -1,5 +1,14 @@
1
1
  #!/bin/bash -xe
2
2
 
3
+ echo "export LANGUAGE=en_US.UTF-8" > /tmp/locale
4
+ echo "export LANG=en_US.UTF-8" >> /tmp/locale
5
+ echo "export LC_ALL=en_US.UTF-8" >> /tmp/locale
6
+ cat /etc/bash.bashrc >> /tmp/locale
7
+ grep "export LANGUAGE=en_US.UTF-8" /etc/bash.bashrc || cp /tmp/locale /etc/bash.bashrc
8
+ locale-gen en_US.UTF-8
9
+ dpkg-reconfigure locales
10
+ update-locale LANG=en_US.UTF-8
11
+
3
12
  apt-get update
4
13
  apt-get upgrade -y
5
14
  ntpdate ntp.ubuntu.com
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: provisionator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -97,7 +97,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
97
97
  version: '0'
98
98
  segments:
99
99
  - 0
100
- hash: -2546556512167459433
100
+ hash: 2427934937659375229
101
101
  required_rubygems_version: !ruby/object:Gem::Requirement
102
102
  none: false
103
103
  requirements:
@@ -106,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
106
106
  version: '0'
107
107
  segments:
108
108
  - 0
109
- hash: -2546556512167459433
109
+ hash: 2427934937659375229
110
110
  requirements: []
111
111
  rubyforge_project:
112
112
  rubygems_version: 1.8.23