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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e68d484cd65b6feec230588d40b75e2169229b7c
|
4
|
+
data.tar.gz: d6b2d7169049e85eec1d4451afd90c338914008c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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:'
|
48
|
-
'
|
49
|
-
'
|
50
|
-
'
|
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:'
|
45
|
-
'
|
46
|
-
'
|
47
|
-
'
|
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