bosh-stemcell 1.1750.0 → 1.1761.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -38,9 +38,9 @@ module Bosh::Stemcell
38
38
  def operating_system_stages
39
39
  case operating_system
40
40
  when OperatingSystem::Centos then
41
- [:base_centos, :base_yum] + hacked_centos_common
41
+ centos_os_stages + common_os_stages
42
42
  when OperatingSystem::Ubuntu then
43
- [:base_debootstrap, :base_apt, :bosh_dpkg_list] + common_stages
43
+ ubuntu_os_stages + common_os_stages
44
44
  end
45
45
  end
46
46
 
@@ -49,28 +49,49 @@ module Bosh::Stemcell
49
49
  when Infrastructure::Aws then
50
50
  aws_stages
51
51
  when Infrastructure::OpenStack then
52
- operating_system.instance_of?(OperatingSystem::Centos) ? hacked_centos_openstack : openstack_stages
52
+ if operating_system.instance_of?(OperatingSystem::Centos)
53
+ centos_openstack_stages
54
+ else
55
+ openstack_stages
56
+ end
53
57
  when Infrastructure::Vsphere then
54
- operating_system.instance_of?(OperatingSystem::Centos) ? hacked_centos_vsphere : vsphere_stages
58
+ if operating_system.instance_of?(OperatingSystem::Centos)
59
+ centos_vsphere_stages
60
+ else
61
+ vsphere_stages
62
+ end
55
63
  end
56
64
  end
57
65
 
58
- def hacked_centos_common
66
+ def centos_os_stages
67
+ [:base_centos, :base_yum]
68
+ end
69
+
70
+ def ubuntu_os_stages
71
+ [
72
+ :base_debootstrap,
73
+ :base_apt,
74
+ :bosh_dpkg_list,
75
+ :bosh_sysstat,
76
+ :bosh_sysctl,
77
+ :system_kernel,
78
+ ]
79
+ end
80
+
81
+ def common_os_stages
59
82
  [
60
83
  # Bosh steps
61
84
  :bosh_users,
62
85
  :bosh_monit,
63
- #:bosh_sysstat,
64
- #:bosh_sysctl,
65
86
  :bosh_ntpdate,
66
87
  :bosh_sudoers,
88
+ :rsyslog,
67
89
  # Install GRUB/kernel/etc
68
90
  :system_grub,
69
- #:system_kernel,
70
91
  ]
71
92
  end
72
93
 
73
- def hacked_centos_vsphere
94
+ def centos_vsphere_stages
74
95
  [
75
96
  #:system_open_vm_tools,
76
97
  :system_parameters,
@@ -81,11 +102,11 @@ module Bosh::Stemcell
81
102
  :image_vsphere_vmx,
82
103
  :image_vsphere_ovf,
83
104
  :image_vsphere_prepare_stemcell,
84
- :stemcell
105
+ :stemcell,
85
106
  ]
86
107
  end
87
108
 
88
- def hacked_centos_openstack
109
+ def centos_openstack_stages
89
110
  [
90
111
  # Misc
91
112
  :system_openstack_network_centos,
@@ -99,23 +120,7 @@ module Bosh::Stemcell
99
120
  :image_openstack_qcow2,
100
121
  :image_openstack_prepare_stemcell,
101
122
  # Final stemcell
102
- :stemcell_openstack
103
- ]
104
- end
105
-
106
- def common_stages
107
- [
108
- # Bosh steps
109
- :bosh_users,
110
- :bosh_monit,
111
- :bosh_sysstat,
112
- :bosh_sysctl,
113
- :bosh_ntpdate,
114
- :bosh_sudoers,
115
- :rsyslog,
116
- # Install GRUB/kernel/etc
117
- :system_grub,
118
- :system_kernel,
123
+ :stemcell_openstack,
119
124
  ]
120
125
  end
121
126
 
@@ -135,7 +140,7 @@ module Bosh::Stemcell
135
140
  :image_aws_update_grub,
136
141
  :image_aws_prepare_stemcell,
137
142
  # Final stemcell
138
- :stemcell
143
+ :stemcell,
139
144
  ]
140
145
  end
141
146
 
@@ -156,7 +161,7 @@ module Bosh::Stemcell
156
161
  :image_openstack_qcow2,
157
162
  :image_openstack_prepare_stemcell,
158
163
  # Final stemcell
159
- :stemcell_openstack
164
+ :stemcell_openstack,
160
165
  ]
161
166
  end
162
167
 
@@ -175,7 +180,7 @@ module Bosh::Stemcell
175
180
  :image_vsphere_ovf,
176
181
  :image_vsphere_prepare_stemcell,
177
182
  # Final stemcell
178
- :stemcell
183
+ :stemcell,
179
184
  ]
180
185
  end
181
186
  end
@@ -1,5 +1,5 @@
1
1
  module Bosh
2
2
  module Stemcell
3
- VERSION = '1.1750.0'
3
+ VERSION = '1.1761.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bosh-stemcell
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1750.0
4
+ version: 1.1761.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-01-08 00:00:00.000000000 Z
12
+ date: 2014-01-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bosh_aws_cpi
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 1.1750.0
21
+ version: 1.1761.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ~>
28
28
  - !ruby/object:Gem::Version
29
- version: 1.1750.0
29
+ version: 1.1761.0
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: fakefs
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -182,7 +182,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
182
182
  version: '0'
183
183
  segments:
184
184
  - 0
185
- hash: -2283785670934643133
185
+ hash: -2971511911375545563
186
186
  requirements: []
187
187
  rubyforge_project:
188
188
  rubygems_version: 1.8.23