knife-ec2 0.12.0 → 0.13.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: df82616670ab17b61699fa1d344500f0c80309fa
4
- data.tar.gz: e4969b3ddaac2b8173b3bc74c6b94e1916058317
3
+ metadata.gz: cdaebe8b7719446fee4ccf08e113714a64097e57
4
+ data.tar.gz: 7dcf7fdc5ac57a4ce35baba78abeb67941d1c5bb
5
5
  SHA512:
6
- metadata.gz: d600ff181661d04c4702789a7042bbea70bd3c4998f4f4031e089d215c7d51e2a3499f375c1b7f3fb9a14f1186a5343b50b94fe53816b5448469c674bd252b0c
7
- data.tar.gz: b46b7174e1833ff71798c762e2c95db0e4cf9c93fc6befbaa205c1d365a11e9dd0fc1f1d2c20e662df007c54d858893c13a36ca99ddbe9bb6e37c98dab54714b
6
+ metadata.gz: d1dab754a4f35b7bb25f86a3d26623c0862d054ee242d11aef7fcdfaadc5ef02eb03bd38c7331542c70921c2d211c69c1afed3960b86a96845f71aeb7c8f4335
7
+ data.tar.gz: 922f6bc7592ca622417475ceab90c54e1f43cfcf5c7797a1bb10708a19aaf8b1efedcc34857d2067bb22bc6b44af9cafba44bb6024eae7a4943c0418ecd4be88
data/.gitignore CHANGED
@@ -1,41 +1,41 @@
1
- .rake_tasks~
2
- tags
3
- coverage
4
- rdoc
5
- pkg
6
- test/tmp
7
- test/version_tmp
8
- tmp
9
- pkg
10
- *.gem
11
- *.rbc
12
- lib/bundler/man
13
- spec/reports
14
- .config
15
- InstalledFiles
16
- .bundle
17
-
18
- # YARD artifacts
19
- .yardoc
20
- _yardoc
21
- doc/
22
-
23
- .DS_Store
24
- Icon?
25
-
26
- # Thumbnails
27
- ._*
28
-
29
- # Files that might appear on external disk
30
- .Spotlight-V100
31
- .Trashes
32
-
33
- *.swp
34
- *.swo
35
-
36
- Gemfile.lock
37
- Guardfile
38
- .rspec
39
-
40
- .rvmrc
41
- .rbenv-gemsets
1
+ .rake_tasks~
2
+ tags
3
+ coverage
4
+ rdoc
5
+ pkg
6
+ test/tmp
7
+ test/version_tmp
8
+ tmp
9
+ pkg
10
+ *.gem
11
+ *.rbc
12
+ lib/bundler/man
13
+ spec/reports
14
+ .config
15
+ InstalledFiles
16
+ .bundle
17
+
18
+ # YARD artifacts
19
+ .yardoc
20
+ _yardoc
21
+ doc/
22
+
23
+ .DS_Store
24
+ Icon?
25
+
26
+ # Thumbnails
27
+ ._*
28
+
29
+ # Files that might appear on external disk
30
+ .Spotlight-V100
31
+ .Trashes
32
+
33
+ *.swp
34
+ *.swo
35
+
36
+ Gemfile.lock
37
+ Guardfile
38
+ .rspec
39
+
40
+ .rvmrc
41
+ .rbenv-gemsets
@@ -1,8 +1,14 @@
1
1
  language: ruby
2
+ cache: bundler
2
3
  sudo: false
3
4
 
5
+ # Early warning system to catch if Rubygems breaks something
6
+ before_install:
7
+ - gem update --system
8
+ - gem install bundler
9
+ - rm -f .bundle/config
10
+
4
11
  rvm:
5
- - 2.0.0
6
12
  - 2.1
7
13
  - 2.2
8
14
  script: bundle exec rspec --color --format progress
@@ -2,7 +2,43 @@
2
2
 
3
3
  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
- prior to release 0.8.0, please visit the [source repository](https://github.com/opscode/knife-ec2/commits).
5
+ prior to release 0.8.0, please visit the [source repository](https://github.com/chef/knife-ec2/commits).
6
+
7
+ ## Latest Release 0.13.0 (2016-08-05)
8
+ * [knife-ec2:#438](https://github.com/chef/knife-ec2/pull/438) Specs for ec2 server list
9
+ * [knife-ec2:#437](https://github.com/chef/knife-ec2/pull/437) Fix --aws-credential-file issues
10
+ * [knife-ec2:#436](https://github.com/chef/knife-ec2/pull/436) basic is not a valid setting for winrm_ssl_verify_mode
11
+ * [knife-ec2:#435](https://github.com/chef/knife-ec2/pull/435) Fix for Winrm Authentication Failure issue during bootstrap
12
+ * [knife-ec2:#434](https://github.com/chef/knife-ec2/pull/434) Removed ruby2.0.0 from travis
13
+ * [knife-ec2:#431](https://github.com/chef/knife-ec2/pull/431) Pinned rack and ffi-yajl gem to older versions.
14
+ * [knife-ec2:#430](https://github.com/chef/knife-ec2/pull/430) Fixing --aws-config-file issues
15
+ * [knife-ec2:#429](https://github.com/chef/knife-ec2/pull/429) Added validation when spot-wait-mode option is given by user on CLI and spot-price option is not given.
16
+ * [knife-ec2:#428](https://github.com/chef/knife-ec2/pull/428) Fix for s3 secret not getting copied on target vm
17
+ * [knife-ec2:#427](https://github.com/chef/knife-ec2/pull/427) Addedd disable_api_termination option along with RSpecs.
18
+ * [knife-ec2:#416](https://github.com/chef/knife-ec2/pull/416) Modified help for option --security-group-ids
19
+ * [knife-ec2:#409](https://github.com/chef/knife-ec2/pull/409) Passing encrypted\_data\_bag\_secret and encrypted\_databag\_secret\_file
20
+ * [knife-ec2:#405](https://github.com/chef/knife-ec2/pull/405) Updated README file - added description of aws\_config\_file option
21
+ * [knife-ec2:#399](https://github.com/chef/knife-ec2/pull/399) Adding support for aws-config-file
22
+ * [knife-ec2:#400](https://github.com/chef/knife-ec2/pull/400) Added --json-for-attributes-file
23
+ * [knife-ec2:#393](https://github.com/chef/knife-ec2/pull/393) Please also read aws\_session\_token from credentials file - [Richard Morrisey](https://github.com/datascope)
24
+ * [knife-ec2:#395](https://github.com/chef/knife-ec2/pull/395) Fix security groups for spot requests in a VPC and make user input optional - [Mikhail Bautin](https://github.com/mbautin)
25
+ * [knife-ec2:#322](https://github.com/chef/knife-ec2/pull/322) Implement support for ClassicLink [Quention de Metz](https://github.com/quentindemetz)
26
+ * [knife-ec2:#391](https://github.com/chef/knife-ec2/pull/391) adding missing m4,d2,t2,and g2 ebs encryption flavors - [Mario Harvey](https://github.com/badmadrad)
27
+ * [knife-ec2:#390](https://github.com/chef/knife-ec2/pull/390) Modified create\_ssl\_listener option as per Mixlib-CLI.
28
+ * [knife-ec2:#375](https://github.com/chef/knife-ec2/pull/375) Attach network interfaces before bootstrap - [Eric Herot](https://github.com/eherot)
29
+ * [knife-ec2:#389](https://github.com/chef/knife-ec2/pull/389) --server-connect-attribute cleanup
30
+ * [knife-ec2:#388](https://github.com/chef/knife-ec2/pull/388) Updated Readme for --server-connect-attribute option
31
+ * [knife-ec2:#384](https://github.com/chef/knife-ec2/pull/384) server list in json format
32
+ * [knife-ec2:#378](https://github.com/chef/knife-ec2/pull/378) Readme improvements
33
+ * [knife-ec2:#376](https://github.com/chef/knife-ec2/pull/376) Remove instance colors
34
+ * [knife-ec2:#377](https://github.com/chef/knife-ec2/pull/377) Require fog-aws vs. fog
35
+ * [knife-ec2:#368](https://github.com/chef/knife-ec2/pull/368) Handle Errno::ENOTCONN when testing for sshd access - [Eugene Bolshakov](https://github.com/eugenebolshakov)
36
+ * [knife-ec2:#373](https://github.com/chef/knife-ec2/pull/373) Update contributing docs
37
+ * [knife-ec2:#374](https://github.com/chef/knife-ec2/pull/374) Avoid sending nil runlist to Chef::Knife::Boostrap
38
+ * [knife-ec2:#372](https://github.com/chef/knife-ec2/pull/372) Cache gems in travis, update links and opscode -> chef
39
+ * [knife-ec2:#371](https://github.com/chef/knife-ec2/pull/371) fix typo in readme - [Kyle West](https://github.com/kylewest)
40
+ * [knife-ec2:#363](https://github.com/chef/knife-ec2/pull/363) Add ssl config user data for ssl transport, if required append to user\_data script specified by user.
41
+ * [knife-ec2:#319](https://github.com/chef/knife-ec2/pull/319) Pointing docs at itself. This is better then the non-existent chef.io docs.
6
42
 
7
43
  ## Latest Release: 0.12.0 (2015-10-1)
8
44
 
@@ -22,8 +58,8 @@ prior to release 0.8.0, please visit the [source repository](https://github.com/
22
58
  * [KNIFE-464](https://tickets.opscode.com/browse/KNIFE-464) Support EC2 STS, i.e. AWS Federation tokens for authentication
23
59
 
24
60
  ## Release: 0.10.0.rc.1 (2014-10-08)
25
- * [Issue:#237](https://github.com/opscode/knife-ec2/issues/237) Provide a way to the validation key and data bag secret from S3
26
- * [Issue:#243](https://github.com/opscode/knife-ec2/issues/243) Support new AWS CLI configuration file format
61
+ * [Issue:#237](https://github.com/chef/knife-ec2/issues/237) Provide a way to the validation key and data bag secret from S3
62
+ * [Issue:#243](https://github.com/chef/knife-ec2/issues/243) Support new AWS CLI configuration file format
27
63
  * Update `knife-windows` gem dependency to `knife-windows 0.8.rc.0` for improved Windows authentication integration
28
64
  * Update `fog` gem dependency to `fog 1.23.0`
29
65
  * Provisioned IOPS support via the `--provisioned-iops` and `--ebs-volume-type` options
@@ -42,7 +78,7 @@ prior to release 0.8.0, please visit the [source repository](https://github.com/
42
78
  instance on creation
43
79
 
44
80
  ## Releases prior to 0.8.0
45
- Please see <https://github.com/opscode/knife-ec2/commits> to view changes in
81
+ Please see <https://github.com/chef/knife-ec2/commits> to view changes in
46
82
  the form of commits to the source repository for releases before 0.8.0.
47
83
 
48
84
 
@@ -1,71 +1,216 @@
1
- # Contributing to knife-ec2
2
-
3
- We are glad you want to contribute to Chef's knife-ec2 plugin! The first step is the desire to improve the project.
4
-
5
- You can find the answers to additional frequently asked questions [on the wiki](http://wiki.opscode.com/display/chef/How+to+Contribute).
6
-
7
- ## Quick-contribute
8
-
9
- * Create an account on our [bug tracker](http://tickets.opscode.com/browse/KNIFE)
10
- * Sign our contributor agreement (CLA) [
11
- online](https://secure.echosign.com/public/hostedForm?formid=PJIF5694K6L)
12
- (keep reading if you're contributing on behalf of your employer)
13
- * Create a ticket for your change on the [bug tracker](http://tickets.opscode.com/browse/KNIFE)
14
- * Link to your patch as a rebased git branch or pull request from the ticket
15
- * Resolve the ticket as fixed
16
-
17
- We regularly review contributions and will get back to you if we have any suggestions or concerns.
18
-
19
- ## The Apache License and the CLA/CCLA
20
-
21
- Licensing is very important to open source projects, it helps ensure the software continues to be available under the terms that the author desired.
22
- Chef uses the Apache 2.0 license to strike a balance between open contribution and allowing you to use the software however you would like to.
23
-
24
- The license tells you what rights you have that are provided by the copyright holder. It is important that the contributor fully understands what rights
25
- they are licensing and agrees to them. Sometimes the copyright holder isn't the contributor, most often when the contributor is doing work for a company.
26
-
27
- To make a good faith effort to ensure these criteria are met, Opscode requires a Contributor License Agreement (CLA) or a Corporate Contributor License
28
- Agreement (CCLA) for all contributions. This is without exception due to some matters not being related to copyright and to avoid having to continually
29
- check with our lawyers about small patches.
30
-
31
- It only takes a few minutes to complete a CLA, and you retain the copyright to your contribution.
32
-
33
- You can complete our contributor agreement (CLA) [
34
- online](https://secure.echosign.com/public/hostedForm?formid=PJIF5694K6L). If you're contributing on behalf of your employer, have
35
- your employer fill out our [Corporate CLA](https://secure.echosign.com/public/hostedForm?formid=PIE6C7AX856) instead.
36
-
37
- ## Issue Tracking
38
-
39
- You can file tickets to describe the bug you'd like to fix or feature you'd
40
- like to add via the [knife-ec2 project](http://tickets.opscode.com/browse/KNIFE). For your contribution to be reviewed
41
- and merged, you **must** file a ticket.
42
-
43
- ## Contribution Details
44
-
45
- Once you've created the ticket, you can make a pull request to
46
- knife-ec2 on GitHub at <https://github.com/opscode/knife-ec2> that references
47
- that ticket.
48
-
49
- ## Testing Instructions
50
-
51
- To run tests, run the following Ruby tool commands from the root of your local checkout of
52
- knife-ec2:
53
-
54
- bundle install
55
- bundle exec rspec spec
56
-
57
- **All tests must pass** before your contribution can be merged. Thus it's a good idea
58
- to execute the tests without your change to be sure you understand how to run
59
- them, as well as after to validate that you've avoided regressions.
60
-
61
- All but the most trivial changes should include **at least one unit test case** to exercise the
62
- new / changed code; please add tests to your pull request in this common case.
63
-
64
- ## Further Resources
65
-
66
- ### Fog
67
-
68
- Knife-ec2 uses the Fog gem to interact with EC2's API. When there's a new
69
- feature of EC2 that you'd like to utilize in knife-ec2 use cases, that feature
70
- will probably be exposed by Fog. You can read about Fog
71
- at its [project page](https://github.com/fog/fog).
1
+ # Contributing to knife-ec2
2
+
3
+ We're glad you want to contribute to knife-ec2! The first
4
+ step is the desire to improve the project.
5
+
6
+ ## Quick Contributing Steps
7
+
8
+ 1. Create an account on [GitHub](https://github.com).
9
+ 2. Create an account on the [Chef Supermarket](https://supermarket.chef.io/).
10
+ 3. [Become a contributor](https://supermarket.chef.io/become-a-contributor) by
11
+ signing our Contributor License Agreement (CLA).
12
+ 4. Create a pull request for your change on [GitHub](https://github.com/chef/knife-ec2/pulls).
13
+ 5. The knife-ec2 maintainers will review your change, and either merge the
14
+ change or offer suggestions.
15
+
16
+ ## The Apache License and the CLA/CCLA
17
+ Licensing is very important to open source projects. It helps ensure the
18
+ software continues to be available under the terms that the author desired.
19
+
20
+ Chef uses [the Apache 2.0 license](http://www.apache.org/licenses/LICENSE-2.0)
21
+ to strike a balance between open contribution and allowing you to use the
22
+ software however you would like to.
23
+
24
+ The license tells you what rights you have that are provided by the copyright
25
+ holder. It is important that the contributor fully understands what rights they
26
+ are licensing and agrees to them. Sometimes the copyright holder isn't the
27
+ contributor, such as when the contributor is doing work for a company.
28
+
29
+ To make a good faith effort to ensure these criteria are met, Chef requires an
30
+ Individual CLA or a Corporate CLA for contributions. This agreement helps ensure
31
+ you are aware of the terms of the license you are contributing your copyrighted
32
+ works under, which helps to prevent the inclusion of works in the projects that
33
+ the contributor does not hold the rights to share.
34
+
35
+ It only takes a few minutes to complete a CLA, and you retain the copyright to
36
+ your contribution.
37
+
38
+ You can complete our [Individual
39
+ CLA](https://supermarket.chef.io/icla-signatures/new) online. If you're
40
+ contributing on behalf of your employer and they retain the copyright for your
41
+ works, have your employer fill out our [Corporate
42
+ CLA](https://supermarket.chef.io/ccla-signatures/new) instead.
43
+
44
+ ### Chef Obvious Fix Policy
45
+
46
+ Small contributions such as fixing spelling errors, where the content is small enough
47
+ to not be considered intellectual property, can be submitted by a contributor as a patch,
48
+ without a CLA.
49
+
50
+ As a rule of thumb, changes are obvious fixes if they do not introduce any new functionality
51
+ or creative thinking. As long as the change does not affect functionality. Some likely
52
+ examples include the following:
53
+
54
+ * Spelling / grammar fixes
55
+ * Typo correction, white space and formatting changes
56
+ * Comment clean up
57
+ * Bug fixes that change default return values or error codes stored in constants
58
+ * Adding logging messages or debugging output
59
+ * Changes to ‘metadata’ files like Gemfile, .gitignore, build scripts, etc.
60
+ * Moving source files from one directory or package to another
61
+
62
+ **Whenever you invoke the “obvious fix” rule, please say so in your commit message:**
63
+
64
+ ```
65
+ ------------------------------------------------------------------------
66
+ commit 370adb3f82d55d912b0cf9c1d1e99b132a8ed3b5
67
+ Author: juliachild <julia@chef.io>
68
+ Date: Wed Sep 18 11:44:40 2015 -0700
69
+
70
+ Fix typo in the README.
71
+
72
+ Obvious fix.
73
+
74
+ ------------------------------------------------------------------------
75
+ ```
76
+
77
+ ## <a name="issues"></a>Issue Tracking
78
+
79
+ Chef uses Github Issues to track issues with knife-ec2. Issues should be
80
+ submitted at https://github.com/chef/knife-ec2/issues/new.
81
+
82
+ In order to decrease the back and forth in issues, and to help us get to
83
+ the bottom of them quickly we use the below issue template. You can copy/paste
84
+ this template into the issue you are opening and edit it accordingly.
85
+
86
+ <a name="issuetemplate"></a>
87
+ ```
88
+ ### Environment: [Details about the environment such as the Operating System, Ruby release, etc...]
89
+
90
+ ### Scenario:
91
+ [What you are trying to achieve and you can't?]
92
+
93
+
94
+ ### Steps to Reproduce:
95
+ [If you are filing an issue what are the things we need to do in order to repro your problem?]
96
+
97
+
98
+ ### Expected Result:
99
+ [What are you expecting to happen as the consequence of above reproduction steps?]
100
+
101
+
102
+ ### Actual Result:
103
+ [What actually happens after the reproduction steps?]
104
+ ```
105
+
106
+ ## Using git
107
+
108
+ You can copy the knife-ec2 repository to your local workstation by running
109
+ `git clone git://github.com/chef/knife-ec2.git`.
110
+
111
+ For collaboration purposes, it is best if you create a GitHub account
112
+ and fork the repository to your own account. Once you do this you will
113
+ be able to push your changes to your GitHub repository for others to
114
+ see and use.
115
+
116
+ ### Branches and Commits
117
+
118
+ You should submit your patch as a git branch named after the Github
119
+ issue, such as GH-22. This is called a _topic branch_ and allows users
120
+ to associate a branch of code with the ticket.
121
+
122
+ It is a best practice to have your commit message have a _summary
123
+ line_ that includes the ticket number, followed by an empty line and
124
+ then a brief description of the commit. This also helps other
125
+ contributors understand the purpose of changes to the code.
126
+
127
+ ```text
128
+ [GH-22] - platform_family and style
129
+
130
+ * use platform_family for platform checking
131
+ * update notifies syntax to "resource_type[resource_name]" instead of
132
+ resources() lookup
133
+ * GH-692 - delete config files dropped off by packages in conf.d
134
+ * dropped debian 4 support because all other platforms have the same
135
+ values, and it is older than "old stable" debian release
136
+ ```
137
+
138
+ Remember that not all users use Chef in the same way or on the same
139
+ operating systems as you, so it is helpful to be clear about your use
140
+ case and change so they can understand it even when it doesn't apply
141
+ to them.
142
+
143
+ ### More information
144
+
145
+ Additional help with git is available on the [Community
146
+ Contributions](https://docs.chef.io/community_contributions.html#use-git)
147
+ page on the Chef Docs site.
148
+
149
+ ## Unit Tests
150
+
151
+ knife-ec2 is tested with rspec unit tests to ensure changes don't cause
152
+ regressions for other use cases. All non-trivial changes must include
153
+ additional unit tests.
154
+
155
+ To run the rspec tests run the following commands from the root of the
156
+ project:
157
+
158
+ bundle install
159
+ bundle exec rspec spec
160
+
161
+ **All tests must pass** before your contribution can be merged. Thus it's a good idea
162
+ to execute the tests without your change to be sure you understand how to run
163
+ them, as well as after to validate that you've avoided regressions.
164
+
165
+ ## Code Review
166
+
167
+ Chef Software regularly reviews code contributions and provides suggestions
168
+ for improvement in the code itself or the implementation.
169
+
170
+ ## Release Cycle
171
+
172
+ The versioning for Chef Software projects is X.Y.Z.
173
+
174
+ * X is a major release, which may not be fully compatible with prior
175
+ major releases
176
+ * Y is a minor release, which adds both new features and bug fixes
177
+ * Z is a patch release, which adds just bug fixes
178
+
179
+ ## Working with the community
180
+
181
+ These resources will help you learn more about Chef and connect to
182
+ other members of the Chef community:
183
+
184
+ * [Chef Community Guidelines](https://docs.chef.io/community_guidelines.html)
185
+ * [Chef Mailing List](https://discourse.chef.io/c/dev)
186
+ * #chef and #chef-hacking IRC channels on irc.freenode.net
187
+ * [Supermarket site](https://supermarket.chef.io/)
188
+ * [Chef Docs](http://docs.chef.io)
189
+ * Chef Software Chef [product page](https://www.chef.io/chef/)
190
+
191
+
192
+ ## Contribution Do's and Don't's
193
+
194
+ Please do include tests for your contribution. If you need help, ask on the
195
+ [chef-dev mailing list](https://discourse.chef.io/c/dev) or the [#chef-hacking
196
+ IRC channel](https://botbot.me/freenode/chef-hacking/). Please provide
197
+ evidence of testing your contribution if it isn't trivial so we don't have to
198
+ duplicate effort in testing.
199
+
200
+ Please do **not** modify the version number of the gem, Chef
201
+ will select the appropriate version based on the release cycle
202
+ information above.
203
+
204
+ Please do **not** update the `CHANGELOG.md` for a new version. Not all
205
+ changes may be merged and released in the same versions. Chef Software
206
+ will update the `CHANGELOG.md` when releasing a new version.
207
+
208
+ ## Further Resources
209
+
210
+ ### Fog
211
+
212
+ Knife-ec2 uses the Fog gem to interact with EC2's API. When there's a new
213
+ feature of EC2 that you'd like to utilize in knife-ec2 use cases, that feature
214
+ will probably be exposed by Fog. You can read about Fog
215
+ at its [project page](https://github.com/fog/fog).
216
+