opzworks 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/opzworks/commands/berks.rb +12 -16
- data/lib/opzworks/meta.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c033c9f00fbcadcdc3d9e624a45e0d10c920abea
|
4
|
+
data.tar.gz: cd7f3ab29eb4a5a37111d755f42b201c3d7e1ff2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 709014ae06bd12255ba03a19d7bb33c70c7c5c1134b12a60e181883eb557822d198da179fea5984d484bbbc158e1b56c08d87c35a6d87a4ea5d87c0c30c68571
|
7
|
+
data.tar.gz: 5338d7af5ec7b857e56de1fb13d82aa3eb7aabbe3728090a236ece174cfefba7d3f89788a3a3a38ebd0e64307365fd29f96c674d224b35d02256006b903bd2f1
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,14 @@
|
|
1
1
|
changelog
|
2
2
|
=========
|
3
3
|
|
4
|
+
0.5.1
|
5
|
+
-----
|
6
|
+
* remove detection of chef stack for update custom cookbooks... the cmdline flag rules
|
7
|
+
|
8
|
+
0.5.0
|
9
|
+
-----
|
10
|
+
* commit Gemfile.lock
|
11
|
+
|
4
12
|
0.4.2
|
5
13
|
-----
|
6
14
|
* standardize behavior of json and berks commands: changes in a dirty working opsworks repo will
|
@@ -143,22 +143,18 @@ module OpzWorks
|
|
143
143
|
# update remote cookbooks
|
144
144
|
#
|
145
145
|
if options[:update] == true
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
hash
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
rescue Aws::OpsWorks::Errors::ServiceError => e
|
159
|
-
puts 'Caught error while attempting to trigger deployment: '.foreground(:red)
|
160
|
-
puts e
|
161
|
-
end
|
146
|
+
puts "Triggering update_custom_cookbooks for remote stack (#{@stack_id})".foreground(:blue)
|
147
|
+
|
148
|
+
hash = {}
|
149
|
+
hash[:comment] = 'shake and bake'
|
150
|
+
hash[:stack_id] = @stack_id
|
151
|
+
hash[:command] = { name: 'update_custom_cookbooks' }
|
152
|
+
|
153
|
+
begin
|
154
|
+
opsworks.create_deployment(hash)
|
155
|
+
rescue Aws::OpsWorks::Errors::ServiceError => e
|
156
|
+
puts 'Caught error while attempting to trigger deployment: '.foreground(:red)
|
157
|
+
puts e
|
162
158
|
end
|
163
159
|
else
|
164
160
|
puts 'Update custom cookbooks skipped via --no-update switch.'.foreground(:blue)
|
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.5.
|
4
|
+
version: 0.5.1
|
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-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: aws-sdk
|