cookbook 'pita', '= 0.1.7'
pita (9) Versions 0.1.7 Follow0
install all dependencies for sudo rails app
cookbook 'pita', '= 0.1.7', :supermarket
knife supermarket install pita
knife supermarket download pita
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::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
Authors and Contributors
- [ocowchun](ocowchun@gmail.com)
MIT
Dependent cookbooks
rbenv >= 0.0.0 |
nginx >= 0.0.0 |
apt >= 0.0.0 |
yum >= 0.0.0 |
unicorn >= 0.0.0 |
monit >= 0.0.0 |
td-agent >= 0.0.0 |
nodejs >= 0.0.0 |
datadog ~> 2.2.0 |
unattended_upgrades >= 0.0.0 |
sudo_consul ~> 0.0.3 |
simple_consul_alerts >= 0.0.0 |
sudo_consul_service >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
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
- add datadog recipes
0.1.3
- add
enable_ssl
to decide whether to enable ssl
0.1.2
- add consul recipes
Foodcritic Metric
0.1.7 failed this metric
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/131116b41f6199487cfe442f/pita/attributes/default.rb:15
FC019: Access node attributes in a consistent manner: /tmp/cook/131116b41f6199487cfe442f/pita/attributes/default.rb:15
0.1.7 failed this metric
FC019: Access node attributes in a consistent manner: /tmp/cook/131116b41f6199487cfe442f/pita/attributes/default.rb:15