knife-ec2 0.19.10 → 0.19.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.expeditor/config.yml +3 -0
- data/.travis.yml +1 -1
- data/CHANGELOG.md +28 -23
- data/Gemfile +11 -11
- data/RELEASE_NOTES.md +4 -2
- data/Rakefile +9 -21
- data/VERSION +1 -1
- data/lib/chef/knife/ec2_server_create.rb +1 -0
- 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: 36f36dcc3af7f71e09d9c152c2048afe989a0188b9f3f35eaad1fa4946c63798
|
4
|
+
data.tar.gz: 7f762a705fc5ce0fa0e9c4de6fba412f88305a1f94def855623c0a7de3ae4eb7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0805a3da85de1928937634b592eadc256edd91ca5582731e5ad845f86887d3e42663c6521b767992512081d5d56abd0a149daa0a76097f15f8d5d50619dbb02
|
7
|
+
data.tar.gz: 00d912e5b589ad93405ccf625026b7cfae01c157b37393d4f238e9eb11fa8216f2048ea7d04b937fe42b761a2f733c42b9dfb0ab4e133a81c2a94e54878343d8
|
data/.expeditor/config.yml
CHANGED
@@ -17,6 +17,9 @@ github:
|
|
17
17
|
minor_bump_labels:
|
18
18
|
- "Expeditor: Bump Minor Version"
|
19
19
|
|
20
|
+
changelog:
|
21
|
+
rollup_header: Changes not yet released to rubygems.org
|
22
|
+
|
20
23
|
# These actions are taken, in order they are specified, anytime a Pull Request is merged.
|
21
24
|
merge_actions:
|
22
25
|
- built_in:bump_version:
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -4,43 +4,48 @@ Note: this log contains only changes from knife-ec2 release 0.8.0 and later
|
|
4
4
|
-- it does not contain the changes from prior releases. To view change history
|
5
5
|
prior to release 0.8.0, please visit the [source repository](https://github.com/chef/knife-ec2/commits).
|
6
6
|
|
7
|
-
<!-- latest_release 0.19.
|
8
|
-
## [v0.19.
|
7
|
+
<!-- latest_release 0.19.12 -->
|
8
|
+
## [v0.19.12](https://github.com/chef/knife-ec2/tree/v0.19.12) (2018-11-28)
|
9
9
|
|
10
10
|
#### Merged Pull Requests
|
11
|
-
-
|
11
|
+
- Pass bootstrap template in common config [#560](https://github.com/chef/knife-ec2/pull/560) ([scotthain](https://github.com/scotthain))
|
12
12
|
<!-- latest_release -->
|
13
13
|
|
14
|
-
<!-- release_rollup since=0.
|
15
|
-
### Changes
|
14
|
+
<!-- release_rollup since=0.19.10 -->
|
15
|
+
### Changes not yet released to rubygems.org
|
16
16
|
|
17
17
|
#### Merged Pull Requests
|
18
|
-
-
|
19
|
-
-
|
20
|
-
- Remove mime-types dependency [#550](https://github.com/chef/knife-ec2/pull/550) ([tas50](https://github.com/tas50)) <!-- 0.19.8 -->
|
21
|
-
- Remove readline dep which we're not using [#547](https://github.com/chef/knife-ec2/pull/547) ([tas50](https://github.com/tas50)) <!-- 0.19.7 -->
|
22
|
-
- Removed deprecated options distro and template_file flags in server create command [#542](https://github.com/chef/knife-ec2/pull/542) ([tas50](https://github.com/tas50)) <!-- 0.19.6 -->
|
23
|
-
- Provide a unique console color for us-east-1f availability zone [#541](https://github.com/chef/knife-ec2/pull/541) ([tas50](https://github.com/tas50)) <!-- 0.19.5 -->
|
24
|
-
- Improve the AMI missing error and improve the readme example [#543](https://github.com/chef/knife-ec2/pull/543) ([tas50](https://github.com/tas50)) <!-- 0.19.4 -->
|
25
|
-
- Lazy load deps and avoid double loading [#544](https://github.com/chef/knife-ec2/pull/544) ([tas50](https://github.com/tas50)) <!-- 0.19.3 -->
|
26
|
-
- Allow for fog-aws 1.0 - 3.0 dep to bring in bugfixes and new region support [#545](https://github.com/chef/knife-ec2/pull/545) ([tas50]
|
27
|
-
- Clarify which AWS CLI tools we're talking about [#540](https://github.com/chef/knife-ec2/pull/540) ([tas50](https://github.com/tas50)) <!-- 0.19.2 -->
|
28
|
-
- Fix knife ami list --group flag description [#539](https://github.com/chef/knife-ec2/pull/539) ([tas50](https://github.com/tas50)) <!-- 0.19.1 -->
|
29
|
-
- Rewrite the credentials section of the readme with new recommendations [#538](https://github.com/chef/knife-ec2/pull/538) ([tas50](https://github.com/tas50)) <!-- 0.19.0 -->
|
30
|
-
- Update installation instructions in the readme to push ChefDK [#537](https://github.com/chef/knife-ec2/pull/537) ([tas50](https://github.com/tas50)) <!-- 0.18.7 -->
|
31
|
-
- Add codeowners and PR template files [#533](https://github.com/chef/knife-ec2/pull/533) ([tas50](https://github.com/tas50)) <!-- 0.18.6 -->
|
32
|
-
- Move contributing docs out of the repo [#535](https://github.com/chef/knife-ec2/pull/535) ([tas50](https://github.com/tas50)) <!-- 0.18.5 -->
|
33
|
-
- Bump copyrights & minor readme updates [#532](https://github.com/chef/knife-ec2/pull/532) ([tas50](https://github.com/tas50)) <!-- 0.18.4 -->
|
34
|
-
- Drop Ruby 2.2 + Add Chefstyle + align testing with other projects [#530](https://github.com/chef/knife-ec2/pull/530) ([tas50](https://github.com/tas50)) <!-- 0.18.3 -->
|
18
|
+
- Pass bootstrap template in common config [#560](https://github.com/chef/knife-ec2/pull/560) ([scotthain](https://github.com/scotthain)) <!-- 0.19.12 -->
|
19
|
+
- Misc cleanup to sync with other gems [#552](https://github.com/chef/knife-ec2/pull/552) ([tas50](https://github.com/tas50)) <!-- 0.19.11 -->
|
35
20
|
<!-- release_rollup -->
|
36
21
|
|
37
22
|
<!-- latest_stable_release -->
|
23
|
+
## [v0.19.10](https://github.com/chef/knife-ec2/tree/v0.19.10) (2018-08-06)
|
24
|
+
|
25
|
+
#### Merged Pull Requests
|
26
|
+
- Drop Ruby 2.2 + Add Chefstyle + align testing with other projects [#530](https://github.com/chef/knife-ec2/pull/530) ([tas50](https://github.com/tas50))
|
27
|
+
- Bump copyrights & minor readme updates [#532](https://github.com/chef/knife-ec2/pull/532) ([tas50](https://github.com/tas50))
|
28
|
+
- Move contributing docs out of the repo [#535](https://github.com/chef/knife-ec2/pull/535) ([tas50](https://github.com/tas50))
|
29
|
+
- Add codeowners and PR template files [#533](https://github.com/chef/knife-ec2/pull/533) ([tas50](https://github.com/tas50))
|
30
|
+
- Update installation instructions in the readme to push ChefDK [#537](https://github.com/chef/knife-ec2/pull/537) ([tas50](https://github.com/tas50))
|
31
|
+
- Rewrite the credentials section of the readme with new recommendations [#538](https://github.com/chef/knife-ec2/pull/538) ([tas50](https://github.com/tas50))
|
32
|
+
- Fix knife ami list --group flag description [#539](https://github.com/chef/knife-ec2/pull/539) ([tas50](https://github.com/tas50))
|
33
|
+
- Clarify which AWS CLI tools we're talking about [#540](https://github.com/chef/knife-ec2/pull/540) ([tas50](https://github.com/tas50))
|
34
|
+
- Lazy load deps and avoid double loading [#544](https://github.com/chef/knife-ec2/pull/544) ([tas50](https://github.com/tas50))
|
35
|
+
- Improve the AMI missing error and improve the readme example [#543](https://github.com/chef/knife-ec2/pull/543) ([tas50](https://github.com/tas50))
|
36
|
+
- Provide a unique console color for us-east-1f availability zone [#541](https://github.com/chef/knife-ec2/pull/541) ([tas50](https://github.com/tas50))
|
37
|
+
- Removed deprecated options distro and template_file flags in server create command [#542](https://github.com/chef/knife-ec2/pull/542) ([tas50](https://github.com/tas50))
|
38
|
+
- Remove readline dep which we're not using [#547](https://github.com/chef/knife-ec2/pull/547) ([tas50](https://github.com/tas50))
|
39
|
+
- Remove mime-types dependency [#550](https://github.com/chef/knife-ec2/pull/550) ([tas50](https://github.com/tas50))
|
40
|
+
- Remove executables from gemspec and cleanup test files [#549](https://github.com/chef/knife-ec2/pull/549) ([tas50](https://github.com/tas50))
|
41
|
+
- If no keys specified on CLI/config use an AWS credential file if present [#548](https://github.com/chef/knife-ec2/pull/548) ([tas50](https://github.com/tas50))
|
42
|
+
<!-- latest_stable_release -->
|
43
|
+
|
38
44
|
## [v0.18.2](https://github.com/chef/knife-ec2/tree/v0.18.2) (2018-07-06)
|
39
45
|
|
40
46
|
#### Merged Pull Requests
|
41
47
|
- [MSYS-824] fix breaking tag changes & deprecation warning [#527](https://github.com/chef/knife-ec2/pull/527) ([dheerajd-msys](https://github.com/dheerajd-msys))
|
42
48
|
- MSYS-798 - Fixes for windows administrator password [#524](https://github.com/chef/knife-ec2/pull/524) ([dheerajd-msys](https://github.com/dheerajd-msys))
|
43
|
-
<!-- latest_stable_release -->
|
44
49
|
|
45
50
|
|
46
51
|
|
data/Gemfile
CHANGED
@@ -2,23 +2,23 @@ source "https://rubygems.org"
|
|
2
2
|
|
3
3
|
gemspec
|
4
4
|
|
5
|
-
group :
|
6
|
-
gem "
|
7
|
-
gem "
|
8
|
-
gem "
|
5
|
+
group :debug do
|
6
|
+
gem "pry"
|
7
|
+
gem "pry-byebug"
|
8
|
+
gem "pry-stack_explorer"
|
9
9
|
end
|
10
10
|
|
11
11
|
group :test do
|
12
|
-
gem "chefstyle", git: "https://github.com/chef/chefstyle.git", branch: "master"
|
13
|
-
gem "rspec", "~> 3.0"
|
14
|
-
gem "rake"
|
15
12
|
gem "chef", ">= 13.0"
|
13
|
+
gem "chefstyle", "= 0.10.0"
|
14
|
+
gem "rake"
|
15
|
+
gem "rspec", "~> 3.0"
|
16
16
|
end
|
17
17
|
|
18
|
-
group :
|
19
|
-
gem "
|
20
|
-
gem "
|
21
|
-
gem "
|
18
|
+
group :docs do
|
19
|
+
gem "github-markup"
|
20
|
+
gem "redcarpet"
|
21
|
+
gem "yard"
|
22
22
|
end
|
23
23
|
|
24
24
|
instance_eval(ENV["GEMFILE_MOD"]) if ENV["GEMFILE_MOD"]
|
data/RELEASE_NOTES.md
CHANGED
@@ -7,15 +7,17 @@ Example Note:
|
|
7
7
|
Details about the thing that changed that needs to get included in the Release Notes in markdown.
|
8
8
|
-->
|
9
9
|
|
10
|
-
# knife-ec2 0.19.
|
10
|
+
# knife-ec2 0.19.10 release notes:
|
11
11
|
|
12
12
|
Support for Ruby 2.2 and Chef 12.X has been removed as both are now end of life. This gem now requires Ruby 2.3 (Chef 13) or later, which ships in all supported releases of Chef-DK.
|
13
13
|
|
14
|
+
Credentials handling has been updated to use Amazon's credentials file unless keys are specified in the knife.rb/config.rb or via the command line. This is now the preferred method of authenticating knife-ec2 with AWS as it prevents credential credential sprawl and credentials showing up in shell history. The readme authentication section has been rewritten and expanded to touch on the various methods of authenticating this plugin.
|
15
|
+
|
14
16
|
The long ago deprecated `--distro` and `--template_file` flags for `knife ec2 server create` have been removed. These were no longer used by knife bootstrap so this should have zero impact on knife-ec2 users.
|
15
17
|
|
16
18
|
The fog-aws gem dependency has been loosened to allow fog-aws 1.0-3.X instead of just 1.X. This adds new instance types to `knife ec2 flavor list` and adds support for additional regions and availability zones previously not supported.
|
17
19
|
|
18
|
-
|
20
|
+
Remove the dependency on `mime-types` and `readline` gems, which don't appear to actually be used directly.
|
19
21
|
|
20
22
|
# knife-ec2 0.18.0 release notes:
|
21
23
|
In this release we have added separate features for tagging EC2 instances in AWS and Chef. Option `--aws-tag` is used for tagging the node in AWS and option `--chef-tag` is used for tagging the node in Chef. Subsequently the `--tag-node-in-chef` and `--tags` are now deprecated.
|
data/Rakefile
CHANGED
@@ -1,27 +1,13 @@
|
|
1
|
-
#
|
2
|
-
# Author:: Adam Jacob (<adam@chef.io>)
|
3
|
-
# Author:: Daniel DeLeo (<dan@chef.io>)
|
4
|
-
# Author:: Seth Chisamore (<schisamo@chef.io>)
|
5
|
-
# Copyright:: Copyright (c) 2008-2018 Chef Software, Inc.
|
6
|
-
# License:: Apache License, Version 2.0
|
7
|
-
#
|
8
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
9
|
-
# you may not use this file except in compliance with the License.
|
10
|
-
# You may obtain a copy of the License at
|
11
|
-
#
|
12
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
13
|
-
#
|
14
|
-
# Unless required by applicable law or agreed to in writing, software
|
15
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
16
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
17
|
-
# See the License for the specific language governing permissions and
|
18
|
-
# limitations under the License.
|
19
|
-
#
|
20
|
-
|
21
1
|
require "bundler/gem_tasks"
|
22
2
|
require "rspec/core/rake_task"
|
23
3
|
|
24
|
-
|
4
|
+
begin
|
5
|
+
Bundler.setup(:default, :development)
|
6
|
+
rescue Bundler::BundlerError => e
|
7
|
+
$stderr.puts e.message
|
8
|
+
$stderr.puts "Run `bundle install` to install missing gems"
|
9
|
+
exit e.status_code
|
10
|
+
end
|
25
11
|
|
26
12
|
Bundler::GemHelper.install_tasks
|
27
13
|
|
@@ -53,3 +39,5 @@ task :console do
|
|
53
39
|
ARGV.clear
|
54
40
|
IRB.start
|
55
41
|
end
|
42
|
+
|
43
|
+
task default: [:style, :spec]
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.19.
|
1
|
+
0.19.12
|
@@ -774,6 +774,7 @@ class Chef
|
|
774
774
|
bootstrap.config[:bootstrap_vault_file] = locate_config_value(:bootstrap_vault_file)
|
775
775
|
bootstrap.config[:bootstrap_vault_json] = locate_config_value(:bootstrap_vault_json)
|
776
776
|
bootstrap.config[:bootstrap_vault_item] = locate_config_value(:bootstrap_vault_item)
|
777
|
+
bootstrap.config[:bootstrap_template] = locate_config_value(:bootstrap_template)
|
777
778
|
bootstrap.config[:use_sudo_password] = locate_config_value(:use_sudo_password)
|
778
779
|
bootstrap.config[:yes] = locate_config_value(:yes)
|
779
780
|
# If --chef-tag is provided then it will be set in chef as single value e.g. --chef-tag "myTag"
|
data/lib/knife-ec2/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knife-ec2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.19.
|
4
|
+
version: 0.19.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Jacob
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-11-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: fog-aws
|