cookbook 'alphard-aws', '~> 1.1.0'
alphard-aws (2) Versions 1.1.0 Follow0
Installs/Configures and Provides helpers definitions for awscli
cookbook 'alphard-aws', '~> 1.1.0', :supermarket
knife supermarket install alphard-aws
knife supermarket download alphard-aws
alphard-aws Cookbook
This cookbook provides a resource wrapper for awscli command line tool (aws).
It also installs:
- a definition that registers an ec2 instance to an elb
- a definition that adds tag to an ec2 instance
- a definition that deletes s3 buckets
- a ohai plugin helper that compute the ec2 region from ec2 placement zone availability.
Requirements
- Ubuntu 14.04
Chef
- Chef 12.0 or later
Packages
-
ohai
- alphard-aws needs ohai to install the custom plugin ec2_region that compute automatically the ec2 region -
poise-python
- alphard-aws needs poise-python to install awscli
Attributes
General
-
['alphard']['aws']['user']
- the user used to install aws cli and run commands with -
['alphard']['aws']['group']
- the group used to install aws cli and run commands with -
['alphard']['aws']['access_key']
- the access key used for AWS_ACCESS_KEY_ID -
['alphard']['aws']['secret_key']
- the secret key used for AWS_SECRET_ACCESS_KEY -
['alphard']['aws']['region']
- the region used for AWS_DEFAULT_REGION -
['alphard']['aws']['output']
- the output used for AWS_DEFAULT_OUTPUT -
['alphard']['aws']['verbose']
- if true resource will display awscli command output and failure in console.
Awscli
-
['alphard']['aws']['awscli']['version']
- the awscli version to install, upgrade or downgrade
Cloudformation
-
['alphard']['aws']['cloudformation']['region']
- the awscli version to install, upgrade or downgrade - `['alphard']['aws']['cloudformation']['stacks']['default']['template'] - the cloudformation stacks used by environment
Usage
alphard-aws::default
Just include alphard-aws
in your node's run_list
:
{ "name":"my_node", "run_list": [ "recipe[alphard-aws]" ] }
License
Copyright 2009-2016, Hydra Technologies, Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Authors
- Frédéric Nowak - frederic.nowak@alphard.io
Dependent cookbooks
ohai >= 0.0.0 |
poise-python >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
1.1.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.1.0 failed this metric
FC064: Ensure issues_url is set in metadata: alphard-aws/metadata.rb:1
FC065: Ensure source_url is set in metadata: alphard-aws/metadata.rb:1
FC066: Ensure chef_version is set in metadata: alphard-aws/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.1.0 passed this metric
Testing File Metric
1.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.1.0 failed this metric
1.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.1.0 failed this metric
FC064: Ensure issues_url is set in metadata: alphard-aws/metadata.rb:1
FC065: Ensure source_url is set in metadata: alphard-aws/metadata.rb:1
FC066: Ensure chef_version is set in metadata: alphard-aws/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.1.0 passed this metric
Testing File Metric
1.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.1.0 failed this metric
FC065: Ensure source_url is set in metadata: alphard-aws/metadata.rb:1
FC066: Ensure chef_version is set in metadata: alphard-aws/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.1.0 passed this metric
Testing File Metric
1.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.1.0 failed this metric
1.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number