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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d2620dc23b2846a52a5ca1a80ac4d5ed7c90ff5c
4
- data.tar.gz: dc7bc044b6ebaf266f4deb83bb5c675a70188834
3
+ metadata.gz: c033c9f00fbcadcdc3d9e624a45e0d10c920abea
4
+ data.tar.gz: cd7f3ab29eb4a5a37111d755f42b201c3d7e1ff2
5
5
  SHA512:
6
- metadata.gz: e7dd17d2464922fc77cfd16d0a8f7002b86b212d340480a20153393e94d65d895cf4e299477cf79f2c6829f6042e6c03df85aed70c629cfafee9405ea622e417
7
- data.tar.gz: 9531690b86a60198f95636f2c8ddf6e7a37dc620279c5adc997cbfe762aac9a19dcc6e45da7fc30c7886ed1a3138dd92151bc75aa81399cfb69df3fbf253a7a0
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
- if @chef_version.to_i > 11
147
- puts "Skipping update_custom_cookbooks, this is stack is running Chef > 11 (#{@chef_version})".foreground(:blue)
148
- else
149
- puts "Triggering update_custom_cookbooks for remote stack (#{@stack_id})".foreground(:blue)
150
-
151
- hash = {}
152
- hash[:comment] = 'shake and bake'
153
- hash[:stack_id] = @stack_id
154
- hash[:command] = { name: 'update_custom_cookbooks' }
155
-
156
- begin
157
- opsworks.create_deployment(hash)
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
@@ -1,5 +1,5 @@
1
1
  module OpzWorks
2
- VERSION = '0.5.0'
2
+ VERSION = '0.5.1'
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.5.0
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-18 00:00:00.000000000 Z
12
+ date: 2016-01-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: aws-sdk