knife-ec2 1.0.25 → 1.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/chef/knife/ec2_server_create.rb +7 -3
- data/lib/knife-ec2/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ada420d34d94212017c8efa482439abcdb0de539fad09552eb18143105f7b01a
|
|
4
|
+
data.tar.gz: 52cf7f8bd1b23fc63efe61375f3d45730568db2dcb94f90723bb0ecaa34efe6e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9de9b4060e313a5ae678fb2a6a9b31295a4a3c1f6d55cc2d68167be9aef7644d24c796de8813f7d02321fd7dea9f1e9f57c4729ee0cff153fc428a707707c692
|
|
7
|
+
data.tar.gz: 375c70b99a4ad7e860f919cb5f89c2f87f68ab04a7fdc7fe63d2e27b57040a75fba71b6fae11e15e37a79e4f0f9f4b58a44530d316c520b931172bb10d0282f6
|
|
@@ -392,9 +392,6 @@ class Chef
|
|
|
392
392
|
Chef::Config[:validation_key] = validation_key_path
|
|
393
393
|
end
|
|
394
394
|
|
|
395
|
-
config[:connection_protocol] ||= connection_protocol_ec2
|
|
396
|
-
config[:connection_port] ||= connection_port
|
|
397
|
-
|
|
398
395
|
# Check if Server is Windows or Linux
|
|
399
396
|
if is_image_windows?
|
|
400
397
|
if winrm?
|
|
@@ -576,6 +573,13 @@ class Chef
|
|
|
576
573
|
!!config_value(:subnet_id)
|
|
577
574
|
end
|
|
578
575
|
|
|
576
|
+
# When options connection_protocol and connection_port are not provided
|
|
577
|
+
# It will set as default
|
|
578
|
+
def plugin_setup!
|
|
579
|
+
config[:connection_protocol] ||= connection_protocol_ec2
|
|
580
|
+
config[:connection_port] ||= connection_port
|
|
581
|
+
end
|
|
582
|
+
|
|
579
583
|
def validate_name_args!
|
|
580
584
|
# We don't know the name of our instance yet
|
|
581
585
|
end
|
data/lib/knife-ec2/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: knife-ec2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.26
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chef Software, Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-12-
|
|
11
|
+
date: 2019-12-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: chef
|