mixlib-install 2.1.9 → 2.1.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/CHANGELOG.md +3 -0
- data/ci/before-script.sh +2 -2
- data/lib/mixlib/install/cli.rb +1 -0
- data/lib/mixlib/install/product.rb +14 -4
- data/lib/mixlib/install/version.rb +1 -1
- data/terraform_0.7.4_linux_amd64.zip +0 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 33aae15f046862d9ff419e37d41aaa29b81d6c6d
|
4
|
+
data.tar.gz: fdc1c8caca3ae66346623fd46021ddb6f42b3180
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83ce80b409838a649904703c165dc194e4749789df457172141fc39c089590f830fcf6b30c2e97d1d6c703a117209b0e7875ab1441950874b7c56b786baf29b6
|
7
|
+
data.tar.gz: 3c866560cf575ec0314a9495689194d913b775a341ec31ba4250358fd704894df0afd2d872f4e9917136156c7bd9af84615ecea1505a8c5c0d62ef4c1255e10a
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/ci/before-script.sh
CHANGED
@@ -6,10 +6,10 @@ set -evx
|
|
6
6
|
if [ "${CHEF_ACCEPTANCE}" = "true" ] && [[ $encrypted_e2edbb28e76c_key ]]; then
|
7
7
|
|
8
8
|
# download terraform
|
9
|
-
wget "https://releases.hashicorp.com/terraform/0.7.4/terraform_0.7.4_linux_amd64.zip"
|
9
|
+
wget "https://releases.hashicorp.com/terraform/0.7.4/terraform_0.7.4_linux_amd64.zip" -O tf.zip
|
10
10
|
|
11
11
|
# inflate archive
|
12
|
-
unzip
|
12
|
+
unzip tf.zip -d bin
|
13
13
|
|
14
14
|
# decrypt pem
|
15
15
|
openssl aes-256-cbc -K $encrypted_e2edbb28e76c_key -iv $encrypted_e2edbb28e76c_iv -in ci/es-infrastructure.pem.enc -out es-infrastructure.pem -d
|
data/lib/mixlib/install/cli.rb
CHANGED
@@ -49,6 +49,7 @@ If no earlier version is found the earliest version available will be set.",
|
|
49
49
|
desc: "Print artifact attributes",
|
50
50
|
type: :boolean
|
51
51
|
def download(product_name)
|
52
|
+
say_status("Warn", "Product key `delivery` will be deprecated in a future release. Please use `automate`") if product_name == "delivery"
|
52
53
|
# Set mininum options
|
53
54
|
mixlib_install_options = {
|
54
55
|
channel: options[:channel].to_sym,
|
@@ -193,8 +193,13 @@ PRODUCT_MATRIX = Mixlib::Install::ProductMatrix.new do
|
|
193
193
|
|
194
194
|
product "automate" do
|
195
195
|
product_name "Chef Automate"
|
196
|
-
|
197
|
-
|
196
|
+
# Delivery backward compatibility
|
197
|
+
package_name do |v|
|
198
|
+
v < version_for("0.7.0") ? "delivery" : "automate"
|
199
|
+
end
|
200
|
+
ctl_command do |v|
|
201
|
+
v < version_for("0.7.0") ? "delivery-ctl" : "automate-ctl"
|
202
|
+
end
|
198
203
|
config_file "/etc/delivery/delivery.rb"
|
199
204
|
end
|
200
205
|
|
@@ -256,8 +261,13 @@ PRODUCT_MATRIX = Mixlib::Install::ProductMatrix.new do
|
|
256
261
|
|
257
262
|
product "delivery" do
|
258
263
|
product_name "Delivery"
|
259
|
-
|
260
|
-
|
264
|
+
# Chef Automate forward compatibility
|
265
|
+
package_name do |v|
|
266
|
+
v < version_for("0.7.0") ? "delivery" : "automate"
|
267
|
+
end
|
268
|
+
ctl_command do |v|
|
269
|
+
v < version_for("0.7.0") ? "delivery-ctl" : "automate-ctl"
|
270
|
+
end
|
261
271
|
config_file "/etc/delivery/delivery.rb"
|
262
272
|
end
|
263
273
|
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mixlib-install
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thom May
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2017-01-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: artifactory
|
@@ -290,6 +290,7 @@ files:
|
|
290
290
|
- mixlib-install.gemspec
|
291
291
|
- support/install_command.ps1
|
292
292
|
- support/install_command.sh
|
293
|
+
- terraform_0.7.4_linux_amd64.zip
|
293
294
|
homepage: https://chef.io
|
294
295
|
licenses:
|
295
296
|
- Apache-2.0
|
@@ -310,7 +311,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
310
311
|
version: '0'
|
311
312
|
requirements: []
|
312
313
|
rubyforge_project:
|
313
|
-
rubygems_version: 2.6.
|
314
|
+
rubygems_version: 2.6.8
|
314
315
|
signing_key:
|
315
316
|
specification_version: 4
|
316
317
|
summary: A mixin to help with omnitruck installs
|