Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the supermarket mailing list.

Select Badges

Select Supported Platforms

RSS

pita (9) Versions 0.1.15

install all dependencies for sudo rails app

Berkshelf/Librarian
Policyfile
Knife
cookbook 'pita', '~> 0.1.15'
cookbook 'pita', '~> 0.1.15', :supermarket
knife cookbook site install pita
knife cookbook site download pita
README
Dependencies
Changelog
Quality

Pita

rails environment cookbook

Recipes

pita::default

install ruby, monit,nginx,nodejs,mysql-client,imagemagick * ['pita']['enable_ssl'] - enable_ssl (default:false)

pita::consul

install consul for service discovery * ['consul']['config']['node_name'] - your consul node name (i.e. my_rails_app1) * ['consul']['config']['start_join'] - ip to join when consul start

pita::consul_template

install consul-template and build application.yml * ['pita']['consul']['key_dir'] - consul key value dir to store your data

pita::td-agent

install td-agent to unified logging

  • ['pita']['s3_region'] - your s3 region (i.e. ap-northeast-1)
  • ['pita']['s3_bucket'] - your s3 bucket name (i.e. my-s3-bucket)

pita::datadog

install datadog to monitor your infrastructure

pita::statsd

install moro to monitor process memory usage * ['pita']['moro'] - your moro config

example

default['pita']['moro']={
  "processes"=>[ {"name"=> "my_awesome_server","pid"=> "/tmp/pids/server.pid"}],
  "interval"=> 30,
  "datadog"=>false
}

Authors and Contributors

MIT

0.1.15

  • upgrade consul-template gem to 0.10.0

0.1.14

  • handle CVE-2016–3714

0.1.13

  • install git v2.7.4

0.1.12

  • upgrade moro gem to 0.0.10

0.1.11

0.1.10

  • extract application.ctmpl's data to attributes

0.1.9

  • replace monit cookbook with poise-monit
  • extract monit nginx to nginx recipes
  • only add nginx.conf when rails_app_name exist

0.1.8

  • refactor consul

0.1.7

  • use ruby 2.3 as default version

0.1.6

  • use logstash_dateformat %Y.%m. for elastic search

0.1.5

  • adjust td-agent recipes to add config

0.1.4

0.1.3

  • add enable_ssl to decide whether to enable ssl

0.1.2

Foodcritic Metric
            

0.1.15 failed this metric

FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/637f2d77c69dc16e932a9e63/pita/attributes/default.rb:16
FC002: Avoid string interpolation where not required: /tmp/cook/637f2d77c69dc16e932a9e63/pita/recipes/consul_template.rb:5
FC002: Avoid string interpolation where not required: /tmp/cook/637f2d77c69dc16e932a9e63/pita/recipes/consul_template.rb:6
FC019: Access node attributes in a consistent manner: /tmp/cook/637f2d77c69dc16e932a9e63/pita/attributes/default.rb:16
FC023: Prefer conditional attributes: /tmp/cook/637f2d77c69dc16e932a9e63/pita/recipes/nginx.rb:5