bosh-stemcell 1.2992.0 → 1.2999.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c9c0ac6ff860ff52c85edaa63c6c017dfd6eee54
4
- data.tar.gz: 2137f2eb1d943ee50752388fcc67fd0e2f657e71
3
+ metadata.gz: 04338c1eeddb7c1a7ecd97463e89684f139a86ff
4
+ data.tar.gz: 0419932e44427557ccd2097e56cb3315fabf7e89
5
5
  SHA512:
6
- metadata.gz: ef50aaa30f9750f88b3d3449e88719fe171eaae4c64c72c6c7efffefabe5bb65a7b49cb0a031c4d2d21b59cf48c8d4936ae3df4d78ae4dc5fb4146dc8bb80986
7
- data.tar.gz: 9b5fc488d17c2ec190b2a1ed27b8f3acddd54995d9037b7e22ea4905a89ac01f437e499d489352709661887d421e99576a8cd24dd57cfe9a373eadaaeae25bda
6
+ metadata.gz: 42fb4c9b0236d3239d62bb44a556b522893cbf9126f1f1145c662f5841c6ae7ba776b88aa14c92143642fad621a4a64bb1cae0b4bde929c629ccda28dde2fac1
7
+ data.tar.gz: b9345675794284cc4ad24d66849e4ec472449233b76390cec80aa4f256be86d6ab89016518326ca2159e15a83a78611f3fded380a3455398ecb99ccaa9bfa5b4
@@ -40,7 +40,13 @@ module Bosh
40
40
  'version' => version.to_s,
41
41
  'bosh_protocol' => 1,
42
42
  'sha1' => image_checksum,
43
- 'cloud_properties' => {
43
+ 'os' => "#{definition.operating_system.name}-#{definition.operating_system.version}",
44
+ 'cloud_properties' => manifest_cloud_properties(disk_format, infrastructure, stemcell_name)
45
+ }
46
+ end
47
+
48
+ def manifest_cloud_properties(disk_format, infrastructure, stemcell_name)
49
+ {
44
50
  'name' => stemcell_name,
45
51
  'version' => version.to_s,
46
52
  'infrastructure' => infrastructure.name,
@@ -51,8 +57,7 @@ module Bosh
51
57
  'os_type' => 'linux',
52
58
  'os_distro' => definition.operating_system.name,
53
59
  'architecture' => 'x86_64',
54
- }.merge(infrastructure.additional_cloud_properties)
55
- }
60
+ }.merge(infrastructure.additional_cloud_properties)
56
61
  end
57
62
 
58
63
  def create_tarball(disk_format)
@@ -1,5 +1,5 @@
1
1
  module Bosh
2
2
  module Stemcell
3
- VERSION = '1.2992.0'
3
+ VERSION = '1.2999.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bosh-stemcell
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2992.0
4
+ version: 1.2999.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pivotal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-18 00:00:00.000000000 Z
11
+ date: 2015-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bosh_aws_cpi
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.2992.0
19
+ version: 1.2999.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 1.2992.0
26
+ version: 1.2999.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bosh-core
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.2992.0
33
+ version: 1.2999.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 1.2992.0
40
+ version: 1.2999.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: fakefs
43
43
  requirement: !ruby/object:Gem::Requirement