cookbook 'frog', '= 1.0.1'
The frog cookbook has been deprecated
Author provided reason for deprecation:
The frog cookbook has been deprecated and is no longer being maintained by its authors. Use of the frog cookbook is no longer recommended.
frog (4) Versions 1.0.1 Follow0
Installs and configures the Frog Media Server
cookbook 'frog', '= 1.0.1', :supermarket
knife supermarket install frog
knife supermarket download frog
Installs and configures the open source Frog Media Server.
- Chef 11.6 or higher
- Ubuntu 12.04, 14.04
- CentOS 6.4
- Amazon 2014.03
Pull requests for additional platform support are welcome!
Attributes are documented in-line. Please see the attributes source files for detailed information about the attributes that are available.
Installs the full stack of services needed to run frog on a single machine. This is done by including all 3 of the other recipes provided by this cookbook.
Installs and configures the Frog application and Gunicorn application server.
Frog is a Django application. This cookbook creates a Django project and configures it to run the django-frog app. The Gunicorn server is used to run the Django application managed by runit.
Creates and configures the Frog database.
You can optionally use this cookbook to install the DBMS server binaries for your chosen database by setting
node['frog']['db']['install_dbms'] to true. The
node['frog']['db']['dbms'] attribute is used to control which DBMS system is installed and/or configured. Currently
mysql is the only valid option.
If you would like to add additional database support, we would welcome the pull request!
Note: The community mysql cookbook is used to install the MySQL server software. Please read that recipes documentation for more information about customizing the MySQL server installation.
Installs and configures nginx as a reverse proxy to the Gunicorn application server.
This cookbook is designed to allow you to run each of the components on a single server, or across multiple servers. You may want to run only the web front end on one node and the database server on another node. By using a combination of the recipe's you can configure your Frog stack however you like.
If you plan to not run the entire software stack on a single host, be sure to change the applicable attributes so the software can find the required services.
To run the entire Frog stack on a single node, include
recipe[frog::default] in your run_list.
Front End App Server and Nginx Reverse Proxy
recipe[frog::nginx] in your run_list.
Front End App Server Only
recipe[frog::server] in your run_list.
Reverse Proxy Server Only
recipe[frog::nginx] to your run_list.
Database Server Only
recipe[frog::database] to your run_list.
- Fork the repository on Github: https://help.github.com/articles/fork-a-repo
Clone the repository locally:
$ git clone http://github.com/nickryand/frog-cookbook.git
Create a named feature branch:
$ cd frog-cookbook
$ git checkout -b [new feature branch]
Add your change(s)
Write tests for your change(s):
You can provide spec and/or integration tests for your changes. Pull requests without changes will sit until someone is able to write tests the verify the changes. This has the added benefit of possibly preventing regressions in the future.
Install the gem dependencies:
Run the integration and spec tests to ensure they all pass:
bundle exec rake integration
Run the style tests to ensure they all pass:
bundle exec rake style
Update the README.md with new information if applicable.
Commit and push your changes up to your feature branch
Submit a Pull Request
License and Authors
- Author:: Nick Downs (firstname.lastname@example.org)
Copyright (C) 2014 Nick Downs Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|database ~> 2.2.0|
|python ~> 1.4.6|
|openssl ~> 1.1.0|
|runit ~> 1.5.10|
|mysql ~> 5.3.6|
|gunicorn ~> 1.1.6|
|nginx ~> 2.7.4|
|chef-sugar ~> 2.0.0|
|yum ~> 3.2.2|
|build-essential ~> 2.0.4|
|apt ~> 2.4.0|
There are no cookbooks that are contingent upon this one.
Seperated out nginx frog attributes into it's own file.
- Disabled the nginx default site
- Increased Nginx proxy timeouts
- Added an Nginx reload notification to catch config file updates
1.0.0 / 2014-07-14
Initial release (@nickryand)