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

pythonstack (7) Versions 2.0.1

Installs/Configures pythonstack

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

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
  • 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)

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.1 failed this metric

FC031: Cookbook without metadata file: /tmp/cook/7318e8da7cd65c2f903d5f18/pythonstack/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/7318e8da7cd65c2f903d5f18/pythonstack/metadata.rb:1