opzworks 0.7.3 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/opzworks/commands/berks.rb +13 -8
- 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: 10d75cfb96a190ef39e3092f0a9475bef9700c28
|
4
|
+
data.tar.gz: b49f369c4b7fce2fccc8cf1abbc74a2a497c05bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87b0cfd423e6c40bfa58eef2a03753e09b85702b61e4d7b0ae390c224f599812cf1d73612dd16bb3fda6c6681ac5910c3b7f67ce8181a04106c0f111bc324f60
|
7
|
+
data.tar.gz: 369485d14cdfc5b10ec6378ec3fd98809cec1cc7588b52db2f34fb3730a2d2a2c6909cdca0f9c8350dbfbc65381c3afcee1b90e8c22f5b9a65fbf4cc748d0ad9
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
changelog
|
2
2
|
=========
|
3
3
|
|
4
|
+
0.8.0
|
5
|
+
-----
|
6
|
+
* change in behavior: `berks update` is now no longer the default, and will be skipped unless the --update flag is passed explicitly. This is to prevent unwanted updating of unpinned cookbooks. However, you must now be sure to pass --update when the situation requires it.
|
7
|
+
* to all the short option of -u for `berks update`, the `update_custom_cookbooks` flag is now -ucc
|
8
|
+
|
4
9
|
0.7.3
|
5
10
|
-----
|
6
11
|
* bundle update
|
@@ -26,7 +26,8 @@ module OpzWorks
|
|
26
26
|
|
27
27
|
Options:
|
28
28
|
EOS
|
29
|
-
opt :
|
29
|
+
opt :ucc, 'Trigger update_custom_cookbooks on stack after uploading a new cookbook tarball.', default: true
|
30
|
+
opt :update, 'Run berks update before packaging the Berkshelf.', default: false, short: 'u'
|
30
31
|
opt :clone, 'Only clone the management repo, then exit.', short: 'c', default: false
|
31
32
|
end
|
32
33
|
ARGV.empty? ? Trollop.die('no stacks specified') : false
|
@@ -81,11 +82,15 @@ module OpzWorks
|
|
81
82
|
BASH
|
82
83
|
end
|
83
84
|
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
85
|
+
if options[:update] == true
|
86
|
+
puts "\nUpdating the berkshelf".foreground(:blue)
|
87
|
+
run_local <<-BASH
|
88
|
+
cd #{@target_path}
|
89
|
+
berks update
|
90
|
+
BASH
|
91
|
+
else
|
92
|
+
puts "\nNot running berks update".foreground(:blue)
|
93
|
+
end
|
89
94
|
|
90
95
|
puts "\nPackaging the berkshelf".foreground(:blue)
|
91
96
|
run_local <<-BASH
|
@@ -122,7 +127,7 @@ module OpzWorks
|
|
122
127
|
|
123
128
|
# update remote cookbooks
|
124
129
|
#
|
125
|
-
if options[:
|
130
|
+
if options[:ucc] == true
|
126
131
|
puts "\nTriggering update_custom_cookbooks for remote stack (#{@stack_id})".foreground(:blue)
|
127
132
|
|
128
133
|
hash = {}
|
@@ -139,7 +144,7 @@ module OpzWorks
|
|
139
144
|
puts 'Done!'.foreground(:green)
|
140
145
|
end
|
141
146
|
else
|
142
|
-
puts 'Update custom cookbooks skipped via --no-
|
147
|
+
puts 'Update custom cookbooks skipped via --no-ucc switch.'.foreground(:blue)
|
143
148
|
end
|
144
149
|
end
|
145
150
|
end
|
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
|
+
version: 0.8.0
|
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-02-
|
12
|
+
date: 2016-02-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: aws-sdk
|