cookbook 'pythonstack', '~> 2.0.1'
pythonstack (7) Versions 2.0.1 Follow1
Installs/Configures pythonstack
cookbook 'pythonstack', '~> 2.0.1', :supermarket
knife supermarket install pythonstack
knife supermarket download pythonstack
pythonstack Cookbook
Supported Platforms
- Ubuntu 12.04
- Centos 6.5
Requirements
Cookbooks
apache2
application
application_python
apt
chef-sugar
database
git
memcached
mongodb
mysql-multi
mysql
newrelic
openssl
pg-multi
platformstack
python
rackspace_gluster
redis-multi
stack_commons
uwsgi
yum
yum-epel
yum-ius
Recipes
apache
Creates sites coming from node['apache']['sites'] array
Creates monitoring check for each site if node[platformstack][cloud_monitoring] = enabled
nginx
Creates sites coming from node['nginx']['sites'] array
Creates monitoring check for each site if node[platformstack][cloud_monitoring] = enabled
application_python_nginx
Creates a configuration file for applications using variables for mysql_master node and rabbitmq node and placing this file in /etc/pythonstack.ini
Data_Bag
No Data_Bag configured for this cookbook
Attributes
defaults
-
default['pythonstack']['webserver'] = 'apache'
- sets the webserver want to use
- you can set this to anything, but for actually running a webserver we only support nginx and apache
- you can set this to something like
'not_a_webserver'
and then use that namespace if you still want to deploy your application
-
default['pythonstack']['ini']['cookbook'] = 'pythonstack'
- sets where the
/etc/phpstack.ini
template is sourced from
- sets where the
-
default['pythonstack']['apache']['sites'] = {}
- contains a list of ports and vhosts to set up for apache
-
default['pythonstack']['nginx']['sites'] = {}
- contains a list of ports and vhosts to set up for nginx
-
default['pythonstack']['webserver_deployment']['enabled'] = true
- allows apache and/or nginx recipes to run
-
default['pythonstack']['code-deployment']['enabled'] = true
- allows code deployment to run
demo
contains attributes that used in a demo site, useful as an example of what to set to deploy a site
monitoring
controls how cloud_monitoring is used within pythonstack
nginx
controls setting within nginx configuration (ports, init scripts, etc)
backups
controls the use of rackspace_cloudbackups on pythonstack
Usage
https://github.com/rackspace-cookbooks/pythonstack/blob/master/USAGE.md
Contributing
https://github.com/rackspace-cookbooks/contributing/blob/master/CONTRIBUTING.md
Authors
Authors:: Rackspace DevOps (devops@rackspace.com)
Dependent cookbooks
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
pythonstack CHANGELOG
2.0.0
- @prometheanfire - remove site_name from sites datastructure, it is now derived from server_aliases.first
- general cleanup of unused and unneeded templates
1.1.5
- @jujugrrr - Clean syntax for metadata version constraint
1.1.3
- @jujugrrr - Clean memcached attributes, they are not required anymore as they are in stack_commons
1.1.2
- @jujugrrr - Use stack_commons for pythonstack::newrelic
1.1.0
- @martinb3 - Use stack_commons for pythonstack::redis*
1.0.4
- [Julien Berard] - Use stack_commons for pythonstack::memcache
1.0.3
- [Julien Berard] - Use stack_commons for pythonstack::mongodb_standalone
Check the Markdown Syntax Guide for help with Markdown.
The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.
Collaborator Number Metric
2.0.1 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
2.0.1 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
2.0.1 failed this metric
FC122: Use the build_essential resource instead of the recipe: pythonstack/recipes/application_python.rb:31
FC122: Use the build_essential resource instead of the recipe: pythonstack/recipes/nginx.rb:48
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
2.0.1 passed this metric
Testing File Metric
2.0.1 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
2.0.1 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
2.0.1 failed this metric
2.0.1 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
2.0.1 failed this metric
FC122: Use the build_essential resource instead of the recipe: pythonstack/recipes/application_python.rb:31
FC122: Use the build_essential resource instead of the recipe: pythonstack/recipes/nginx.rb:48
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
2.0.1 passed this metric
Testing File Metric
2.0.1 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
2.0.1 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
2.0.1 failed this metric
FC122: Use the build_essential resource instead of the recipe: pythonstack/recipes/nginx.rb:48
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
2.0.1 passed this metric
Testing File Metric
2.0.1 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
2.0.1 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
2.0.1 failed this metric
2.0.1 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