cookbook 'code_deploy', '= 0.1.2'
code_deploy (11) Versions 0.1.2 Follow0
Installs Amazon CodeDeploy agent
cookbook 'code_deploy', '= 0.1.2', :supermarket
knife supermarket install code_deploy
knife supermarket download code_deploy
CodeDeploy cookbook
This cookbook allow you to install and manage the AWS CodeDeploy agent
Requirements
Any version of Linux supported by CodeDeploy
Using
Use the code_deploy_agent
resource to manage the CodeDeploy agent, all
attributes are optional.
codedeploy-agent 'Install and start' do http_proxy ENV['http_proxy'] # default installer_url 'https://mycache/installer' # use an alternate installer version_url 'https://mycache/version' # version manifest for the installer_url action :install_and_start # default, also supports: # :install, installs the agent in a disabled state # :uninstall # :start # :stop # :restart # :enable # :disable end
Or simply add one of the recipes to your run list.
{ "run_list": [ "recipe[code_deploy::install_agent]", "recipe[code_deploy::install_and_start_agent]", ] }
Contributing
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request
See Also
License & Authors
Author: Henry Muru Paenga (meringu@gmail.com)
Copyright 2016 Henry Muru Paenga
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.
Collaborator Number Metric
0.1.2 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Foodcritic Metric
0.1.2 failed this metric
FC048: Prefer Mixlib::ShellOut: /tmp/8a76fc0157a8702927a586ee/code_deploy/providers/agent.rb:14
FC048: Prefer Mixlib::ShellOut: /tmp/8a76fc0157a8702927a586ee/code_deploy/providers/agent.rb:17
0.1.2 failed this metric
0.1.2 failed this metric
FC048: Prefer Mixlib::ShellOut: /tmp/8a76fc0157a8702927a586ee/code_deploy/providers/agent.rb:14
FC048: Prefer Mixlib::ShellOut: /tmp/8a76fc0157a8702927a586ee/code_deploy/providers/agent.rb:17