opzworks 0.4.3 → 0.4.4

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: a7ad88421aa09cd7a07a39e8957c81a6bc80936c
4
- data.tar.gz: 715efa5f72dbab75ccff574ae046b8d40dbcf73c
3
+ metadata.gz: e68d484cd65b6feec230588d40b75e2169229b7c
4
+ data.tar.gz: d6b2d7169049e85eec1d4451afd90c338914008c
5
5
  SHA512:
6
- metadata.gz: ef147d83b51b33fe8a160dc09f46fdb71afb90ce7c9bbe8207a97076ef0e605d29bd38ede053919877358fd0bbf40656aa361dc9a716026fd3d6d7cdc6a6c623
7
- data.tar.gz: 5d45d0c029a577e3aa1964c213851746c797964a16cca0e58dc98656925ab129eb6942df59df844d05e7acc24544d8629de4b73da7bcbd3880ae7affbf3e19dd
6
+ metadata.gz: df75dbac48b6a5166d7f0cf56cbf1fc41ec1343980d89f01ad8fd8f61a0ce7ec6d811bba82d5f7892e6a49b611af4c2124bd705e13ed57aa7a39239ecc249f31
7
+ data.tar.gz: e6a27406af4b0ccb0d6d0e47b1430f0f78ccc794412565cfb5eae5a7b6f84970e26036d87352dd00558650ad07da48a8c50b71fe8cc2f3c1b70cafa0ada49387
@@ -44,14 +44,19 @@ module OpzWorks
44
44
  next if var == false
45
45
 
46
46
  hash = {
47
- 'PROJECT:' => @project,
48
- 'STACK ID:' => @stack_id,
49
- 'S3 PATH:' => @s3_path,
50
- 'BRANCH:' => @branch
47
+ 'PROJECT:' => @project,
48
+ 'CHEF VERSION:' => @chef_version,
49
+ 'STACK ID:' => @stack_id,
50
+ 'S3 PATH:' => @s3_path,
51
+ 'S3 URL:' => @s3_source_url,
52
+ 'BRANCH:' => @branch
51
53
  }
52
54
  puts "\n"
55
+ puts '-------------------------------'
53
56
  hash.each { |k, v| printf("%-25s %-25s\n", k.foreground(:green), v.foreground(:red)) }
57
+ puts '-------------------------------'
54
58
 
59
+ puts "\n"
55
60
  var = manage_berks_repos
56
61
  next if var == false
57
62
 
@@ -20,12 +20,13 @@ def populate_stack(input, data = {})
20
20
  @stack_json = match[:custom_json] || ''
21
21
  @project = match[:name].split('::').first
22
22
  @s3_path = match[:name].gsub('::', '-')
23
- @stack_id = match[:stack_id]
24
23
  @branch = (match[:name].split('::')[1] + '-' + match[:name].split('::')[2]).gsub('::', '-')
24
+ @stack_id = match[:stack_id]
25
25
  @arn = match[:arn]
26
26
  @region = match[:region]
27
27
  @default_subnet = match[:default_subnet_id]
28
28
  @default_os = match[:default_os]
29
- @chef_version = match[:configuration_manager]
29
+ @chef_version = match[:configuration_manager][:version]
30
+ @s3_source_url = match[:custom_cookbooks_source][:url] || ''
30
31
  end
31
32
  end
@@ -41,14 +41,19 @@ module OpzWorks
41
41
  next if var == false
42
42
 
43
43
  hash = {
44
- 'PROJECT:' => @project,
45
- 'STACK ID:' => @stack_id,
46
- 'S3 PATH:' => @s3_path,
47
- 'BRANCH:' => @branch
44
+ 'PROJECT:' => @project,
45
+ 'CHEF VERSION:' => @chef_version,
46
+ 'STACK ID:' => @stack_id,
47
+ 'S3 PATH:' => @s3_path,
48
+ 'S3 URL:' => @s3_source_url,
49
+ 'BRANCH:' => @branch
48
50
  }
49
51
  puts "\n"
52
+ puts '-------------------------------'
50
53
  hash.each { |k, v| printf("%-25s %-25s\n", k.foreground(:green), v.foreground(:red)) }
54
+ puts '-------------------------------'
51
55
 
56
+ puts "\n"
52
57
  var = manage_berks_repos
53
58
  next if var == false
54
59
 
data/lib/opzworks/meta.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module OpzWorks
2
- VERSION = '0.4.3'
2
+ VERSION = '0.4.4'
3
3
  AUTHORS = ['Grant Heffernan', 'Mapzen']
4
4
  EMAIL = ['grant@mapzen.com']
5
5
  DESCRIPTION = 'OpzWorks Utilities'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opzworks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Grant Heffernan