cookbook 'alphard-chef-awscli', '~> 1.2.1'
alphard-chef-awscli (5) Versions 1.2.1 Follow0
Installs/Configures alphard-chef-awscli
cookbook 'alphard-chef-awscli', '~> 1.2.1', :supermarket
knife supermarket install alphard-chef-awscli
knife supermarket download alphard-chef-awscli
Cookbook 'alphard-chef-awscli'
The cookbook installs awscli command line tool (https://aws.amazon.com/fr/cli/).
Requirements
Platforms
- Ubuntu 12.04 (not tested)
- Ubuntu 14.04 (not tested)
- Ubuntu 16.04 (not tested)
- CentOS 6
- CentOS 7
- Fedora (not tested)
- Debian 8
Chef
- Chef 12.5 or later
Cookbooks
-
poise-python
- alphard-chef-awscli needs poise python to install pip.
Attributes
-
default['alphard']['awscli']['user']
= The user used to install awscli and create configuration file. -
default['alphard']['awscli']['group']
= The group used to install awscli and create configuration file. -
default['alphard']['awscli']['configuration_directory']
= The awscli configuration file installation path. -
default['alphard']['awscli']['access_key']
= The AWS access key (Optional) -
default['alphard']['awscli']['secret_key']
= The AWS secret key (Optional) -
default['alphard']['awscli']['version']
= The awscli version. -
default['alphard']['awscli']['configuration_file']
= The awscli configuration file path.
Usage
alphard-chef-awscli::default
{ "name":"my_node", "run_list": [ "recipe[alphard-chef-awscli]" ] }
Once the recipe installed, you can use the resource awscli and pass arguments as you would pass arguments to the
aws tool in a bash session.
awscli 's3 ls s3://mybucket'
Contributing
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
License
Copyright 2009-2017, 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@hydra-technologies.net
alphard-chef-awscli CHANGELOG
This file is used to list changes made in each version of the alphard-chef-awscli cookbook.
1.0.1
- [Frédéric Nowak] - Fix README.md, add TESTING.md and CONTRIBUTING.md for supermarket quality metrics.
1.0.0
- [Frédéric Nowak] - Initial release of alphard-chef-awscli
Check the Markdown Syntax Guide for help with Markdown.
The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.
Collaborator Number Metric
1.2.1 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.2.1 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.2.1 failed this metric
FC092: Custom resources should not define actions: alphard-chef-awscli/resources/default.rb:22
FC117: Do not use kind_of in custom resource properties: alphard-chef-awscli/resources/default.rb:25
FC117: Do not use kind_of in custom resource properties: alphard-chef-awscli/resources/default.rb:26
FC118: Resource property setting name_attribute vs. name_property: alphard-chef-awscli/resources/default.rb:25
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.2.1 passed this metric
Testing File Metric
1.2.1 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.2.1 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.2.1 failed this metric
1.2.1 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.2.1 failed this metric
FC092: Custom resources should not define actions: alphard-chef-awscli/resources/default.rb:22
FC117: Do not use kind_of in custom resource properties: alphard-chef-awscli/resources/default.rb:25
FC117: Do not use kind_of in custom resource properties: alphard-chef-awscli/resources/default.rb:26
FC118: Resource property setting name_attribute vs. name_property: alphard-chef-awscli/resources/default.rb:25
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.2.1 passed this metric
Testing File Metric
1.2.1 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.2.1 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.2.1 failed this metric
FC117: Do not use kind_of in custom resource properties: alphard-chef-awscli/resources/default.rb:25
FC117: Do not use kind_of in custom resource properties: alphard-chef-awscli/resources/default.rb:26
FC118: Resource property setting name_attribute vs. name_property: alphard-chef-awscli/resources/default.rb:25
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.2.1 passed this metric
Testing File Metric
1.2.1 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.2.1 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.2.1 failed this metric
1.2.1 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