Skip to content

Chef cookbook to install and configure the AWS CodeDeploy agent

License

Notifications You must be signed in to change notification settings

leegarrett/code_deploy

 
 

Repository files navigation

Build Status Windows Status Cookbook

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, :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]",
  ]
}

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

See Also

License & Authors

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.

About

Chef cookbook to install and configure the AWS CodeDeploy agent

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%