cookbook 'pythonstack', '= 2.0.0'
pythonstack (7) Versions 2.0.0 Follow1
Installs/Configures pythonstack
cookbook 'pythonstack', '= 2.0.0', :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.
Foodcritic Metric
2.0.0 failed this metric
FC031: Cookbook without metadata file: /tmp/cook/38a1caca4a38aae135ae3153/pythonstack/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/38a1caca4a38aae135ae3153/pythonstack/metadata.rb:1
2.0.0 failed this metric
FC045: Consider setting cookbook name in metadata: /tmp/cook/38a1caca4a38aae135ae3153/pythonstack/metadata.rb:1