opzworks 0.4.2 → 0.4.3
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: a7ad88421aa09cd7a07a39e8957c81a6bc80936c
|
4
|
+
data.tar.gz: 715efa5f72dbab75ccff574ae046b8d40dbcf73c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef147d83b51b33fe8a160dc09f46fdb71afb90ce7c9bbe8207a97076ef0e605d29bd38ede053919877358fd0bbf40656aa361dc9a716026fd3d6d7cdc6a6c623
|
7
|
+
data.tar.gz: 5d45d0c029a577e3aa1964c213851746c797964a16cca0e58dc98656925ab129eb6942df59df844d05e7acc24544d8629de4b73da7bcbd3880ae7affbf3e19dd
|
@@ -43,6 +43,15 @@ module OpzWorks
|
|
43
43
|
var = populate_stack(opt, response)
|
44
44
|
next if var == false
|
45
45
|
|
46
|
+
hash = {
|
47
|
+
'PROJECT:' => @project,
|
48
|
+
'STACK ID:' => @stack_id,
|
49
|
+
'S3 PATH:' => @s3_path,
|
50
|
+
'BRANCH:' => @branch
|
51
|
+
}
|
52
|
+
puts "\n"
|
53
|
+
hash.each { |k, v| printf("%-25s %-25s\n", k.foreground(:green), v.foreground(:red)) }
|
54
|
+
|
46
55
|
var = manage_berks_repos
|
47
56
|
next if var == false
|
48
57
|
|
@@ -17,19 +17,15 @@ def populate_stack(input, data = {})
|
|
17
17
|
puts 'Found more than one stack matching input '.foreground(:yellow) + input.foreground(:green) + ', skipping.'.foreground(:yellow)
|
18
18
|
return false
|
19
19
|
else
|
20
|
-
@stack_json
|
21
|
-
@project
|
22
|
-
@s3_path
|
23
|
-
@stack_id
|
24
|
-
@branch
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
'BRANCH:' => @branch
|
31
|
-
}
|
32
|
-
puts "\n"
|
33
|
-
hash.each { |k, v| printf("%-25s %-25s\n", k.foreground(:green), v.foreground(:red)) }
|
20
|
+
@stack_json = match[:custom_json] || ''
|
21
|
+
@project = match[:name].split('::').first
|
22
|
+
@s3_path = match[:name].gsub('::', '-')
|
23
|
+
@stack_id = match[:stack_id]
|
24
|
+
@branch = (match[:name].split('::')[1] + '-' + match[:name].split('::')[2]).gsub('::', '-')
|
25
|
+
@arn = match[:arn]
|
26
|
+
@region = match[:region]
|
27
|
+
@default_subnet = match[:default_subnet_id]
|
28
|
+
@default_os = match[:default_os]
|
29
|
+
@chef_version = match[:configuration_manager]
|
34
30
|
end
|
35
31
|
end
|
@@ -40,6 +40,15 @@ module OpzWorks
|
|
40
40
|
var = populate_stack(opt, response)
|
41
41
|
next if var == false
|
42
42
|
|
43
|
+
hash = {
|
44
|
+
'PROJECT:' => @project,
|
45
|
+
'STACK ID:' => @stack_id,
|
46
|
+
'S3 PATH:' => @s3_path,
|
47
|
+
'BRANCH:' => @branch
|
48
|
+
}
|
49
|
+
puts "\n"
|
50
|
+
hash.each { |k, v| printf("%-25s %-25s\n", k.foreground(:green), v.foreground(:red)) }
|
51
|
+
|
43
52
|
var = manage_berks_repos
|
44
53
|
next if var == false
|
45
54
|
|
data/lib/opzworks/meta.rb
CHANGED
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.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Grant Heffernan
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-01-
|
12
|
+
date: 2016-01-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: aws-sdk
|