opzworks 0.8.0 → 0.9.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 +6 -0
- data/lib/opzworks/commands/berks.rb +15 -6
- 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: ceb825f2ff952211a19939007467e3e08b253159
|
4
|
+
data.tar.gz: fdb27f9eec43d7c0c58e54213088c3346368dc69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ffea248fe7461455233b525a8b000324714ba69fd69999cc98bec9d451a81c20a0fc4bee98759b07d62ba601c0da2f2ccb004cff97591f76eea5690dcd86cc91
|
7
|
+
data.tar.gz: 88ff9887fd1584d3028c1f4a262120e6e31ab152f930bb4418bd0ce3486c682b219d52e92e9b2f31c3cafe467f64e4e7c57fa2acc82cb0a16f5ad0dd18a26867
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,12 @@
|
|
1
1
|
changelog
|
2
2
|
=========
|
3
3
|
|
4
|
+
0.9.0
|
5
|
+
-----
|
6
|
+
* allow updating only specific cookbooks in the berkshelf: when passing the `-u` update flag, you can now also specify a space delimited list of cookbooks following a `-c` switch (`-u` alone will continue to run `berks update` for the entire berksfile):
|
7
|
+
|
8
|
+
e.g. `opzworks berks -u -c mapzen_transitland sensu`
|
9
|
+
|
4
10
|
0.8.0
|
5
11
|
-----
|
6
12
|
* 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.
|
@@ -28,7 +28,8 @@ module OpzWorks
|
|
28
28
|
EOS
|
29
29
|
opt :ucc, 'Trigger update_custom_cookbooks on stack after uploading a new cookbook tarball.', default: true
|
30
30
|
opt :update, 'Run berks update before packaging the Berkshelf.', default: false, short: 'u'
|
31
|
-
opt :
|
31
|
+
opt :cookbooks, 'Run berks update only for the specified cookbooks', type: :strings, default: nil, short: 'c'
|
32
|
+
opt :clone, 'Only clone the management repo, then exit.', default: false
|
32
33
|
end
|
33
34
|
ARGV.empty? ? Trollop.die('no stacks specified') : false
|
34
35
|
|
@@ -83,11 +84,19 @@ module OpzWorks
|
|
83
84
|
end
|
84
85
|
|
85
86
|
if options[:update] == true
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
87
|
+
unless options[:cookbooks].nil?
|
88
|
+
puts "\nUpdating the berkshelf for cookbook(s) ".foreground(:blue) + "#{options[:cookbooks].join(', ')}".foreground(:green)
|
89
|
+
run_local <<-BASH
|
90
|
+
cd #{@target_path}
|
91
|
+
berks update #{options[:cookbooks].join(' ')}
|
92
|
+
BASH
|
93
|
+
else
|
94
|
+
puts "\nUpdating the berkshelf".foreground(:blue)
|
95
|
+
run_local <<-BASH
|
96
|
+
cd #{@target_path}
|
97
|
+
berks update
|
98
|
+
BASH
|
99
|
+
end
|
91
100
|
else
|
92
101
|
puts "\nNot running berks update".foreground(:blue)
|
93
102
|
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.9.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-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: aws-sdk
|