This cookbook allow you to install and manage the AWS CodeDeploy agent
Any version of Linux supported by CodeDeploy
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, :enable, :start] # default, also supports:
# :uninstall
# :stop
# :restart
# :disable
end
Or simply add one of the recipes to your run list.
{
"run_list": [
"recipe[code_deploy::default]",
"recipe[code_deploy::disable_agent]",
"recipe[code_deploy::enable_agent]",
"recipe[code_deploy::install_agent]",
"recipe[code_deploy::restart_agent]",
"recipe[code_deploy::start_agent]",
"recipe[code_deploy::stop_agent]",
"recipe[code_deploy::uninstall_agent]",
]
}
- 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
Author: Henry Muru Paenga ([email protected])
Copyright 2017 Henry Muru Paenga <[email protected]>
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.