cookbook 'pita', '~> 0.1.15'
pita (9) Versions 0.1.15 Follow0
install all dependencies for sudo rails app
cookbook 'pita', '~> 0.1.15', :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::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
- [ocowchun](ocowchun@gmail.com)
MIT
Dependent cookbooks
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
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
monitcookbook withpoise-monit - extract monit nginx to
nginxrecipes - only add
nginx.confwhenrails_app_nameexist
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
- add datadog recipes
0.1.3
- add
enable_sslto decide whether to enable ssl
0.1.2
- add consul recipes
Collaborator Number Metric
0.1.15 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.1.15 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.1.15 failed this metric
FC064: Ensure issues_url is set in metadata: pita/metadata.rb:1
FC065: Ensure source_url is set in metadata: pita/metadata.rb:1
FC066: Ensure chef_version is set in metadata: pita/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.15 passed this metric
Testing File Metric
0.1.15 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.15 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.15 failed this metric
0.1.15 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.1.15 failed this metric
FC064: Ensure issues_url is set in metadata: pita/metadata.rb:1
FC065: Ensure source_url is set in metadata: pita/metadata.rb:1
FC066: Ensure chef_version is set in metadata: pita/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.15 passed this metric
Testing File Metric
0.1.15 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.15 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.15 failed this metric
FC065: Ensure source_url is set in metadata: pita/metadata.rb:1
FC066: Ensure chef_version is set in metadata: pita/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.15 passed this metric
Testing File Metric
0.1.15 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.15 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.15 failed this metric
0.1.15 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number