Skip to content

nlcloans/opsworks-cookbooks

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nfsserver Cookbook

sets up the dete nfs server

eg.

creates /web/sites/html, /web/sites/apps, /web/configs/managed if they do not exist

creates default files

exports /web

Requirements

TODO: List your cookbook requirements. Be sure to include any requirements this cookbook has on platforms, libraries, other cookbooks, packages, operating systems, etc.

e.g.

packages

  • toaster - nfsserver needs toaster to brown your bagel.

Attributes

TODO: List you cookbook attributes here.

e.g.

nfsserver::default

Key Type Description Default
['nfsserver']['bacon'] Boolean whether to include bacon true

Usage

nfsserver::default

TODO: Write usage instructions for each cookbook.

e.g. Just include nfsserver in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[nfsserver]"
  ]
}

2.2 Configure custom Chef recipes

Create Layer with short name nginx and type is custom

Configure following recipes:

  1. Setup: php-fpm, server::swap
  2. Configure: php-fpm, cms::config
  3. Deploy: deploy::nginx
  4. Undeploy: deploy::nginx-undeploy
  5. Shutdown: php-fpm::stop

If server does not need swap, you can omit server::swap

Custom recipes will be executed right after built-in recipes are installed.

Contributing

TODO: (optional) If this is a public cookbook, detail the process for contributing. If this is a private cookbook, remove this section.

e.g.

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write you change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

License and Authors

Authors: TODO: List authors

About

Chef Cookbooks for the AWS OpsWorks Service

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 62.5%
  • Ruby 26.1%
  • HTML 10.2%
  • Other 1.2%