cookbook 'phabricator', '= 1.0.2'
phabricator (10) Versions 1.0.2 Follow2
Installs and configures Phabricator
cookbook 'phabricator', '= 1.0.2', :supermarket
knife supermarket install phabricator
knife supermarket download phabricator
Phabricator Cookbook
Installs, upgrades and configures Phabricator.
The default recipe will install Nginx, PHP-FPM and MySQL in addition to the
Phabricator software itself, adds a Nginx site and a PHP-FPM pool, creates a
database user, and migrates the Phabricator databases.
Requirements
This cookbook has been tested on Ubuntu 12.04 and Debian 7.
Cookbooks
-
php
== 1.4.6 -
php-fpm
== 0.6.8 -
nginx
== 2.7.4 -
mysql
== 5.3.0 -
database
== 2.2.0
Attributes
Key | Type | Default | Description |
---|---|---|---|
['phabricator']['path'] | String | /opt/phabricator | Install path |
['phabricator']['user'] | String | phabricator | Phabricator user |
['phabricator']['group'] | String | www-data | Phabricator group |
['phabricator']['domain'] | String | phabricator.example.com | FQDN of site |
['phabricator']['revision']['phabricator'] | String | master | Phabricator git revision |
['phabricator']['revision']['arcanist'] | String | master | Arcanist git revision |
['phabricator']['revision']['libphutil'] | String | master | libphutil git revision |
['phabricator']['repository_path'] | String | /var/repo | Source code repository path |
['phabricator']['ssl'] | Boolean | false | Set to true to use/force HTTPS in nginx |
['phabricator']['ssl_cert_path'] | String | Path to SSL certificate | |
['phabricator']['ssl_key_path'] | String | Path to SSL key | |
['phabricator']['mysql_host'] | String | localhost | MySQL host |
['phabricator']['mysql_port'] | String | 3306 | MySQL port |
['phabricator']['mysql_user'] | String | phabricator | MySQL user |
['phabricator']['mysql_password'] | String | changeme | MySQL password |
['phabricator']['php_memory_limit'] | String | '128M' | PHP memory limit |
['phabricator']['config'] | Hash | Hash with Phabricator configuration | |
['phabricator']['packages'] | Array | List of packages required |
Usage
phabricator::default
Just include phabricator
in your node's run_list
:
{ "name": "my_node", "run_list": [ "recipe[phabricator]" ] }
Bugs
It's not yet possible to use an external MySQL server, but feel free to submit patches.
Contributing
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
License and Authors
This cookbook is licensed under GPL version 2 or (at your option) any later version.
Authors: Kim Tore Jensen kimtj@met.no, MET Norway
Dependent cookbooks
php ~> 1.4 |
php-fpm ~> 0.6 |
nginx ~> 2.7 |
mysql ~> 5.3 |
database ~> 2.2 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.