cookbook 'phabricator', '= 1.3.0'
phabricator (10) Versions 1.3.0 Follow2
Installs and configures Phabricator
cookbook 'phabricator', '= 1.3.0', :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
See attributes/default.rb
.
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.5 |
database ~> 2.3 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Phabricator CHANGELOG
1.3.0
- Add the arcanist recipe, for easy setup of arcanist on developer workstations.
- Remove attributes description from README.md, see attributes/default.rb instead.
1.2.0
- Configure the MySQL innodb_buffer_pool_size variable, default to 40% of total memory.
1.1.2
- Update cookbook dependencies.
1.1.1
- Automatically configure default 'from' e-mail address (metamta.default-address).
1.1.0
- Implement logrotate.d file for /var/tmp/phd/log/daemons.log et al.
1.0.4
- Configure MySQL's ft_stopword_file and ft_min_word_len full text features
1.0.3
- Use https:// instead of git:// as Phabricator source
1.0.2
- Fix Debian dependency version in metadata.rb
1.0.1
- Use pessimistic versions for cookbook dependencies
- Only stop and disable Apache2 if it's really installed
1.0.0
- Kim Tore Jensen kimtj@met.no - Initial release of phabricator
Foodcritic Metric
1.3.0 failed this metric
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/853f1404379968a8779b4ce7/phabricator/templates/default/nginx.erb:3
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/853f1404379968a8779b4ce7/phabricator/templates/default/nginx.erb:6
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/853f1404379968a8779b4ce7/phabricator/templates/default/nginx.erb:7
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/853f1404379968a8779b4ce7/phabricator/templates/default/nginx.erb:12
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/853f1404379968a8779b4ce7/phabricator/templates/default/nginx.erb:15
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/853f1404379968a8779b4ce7/phabricator/templates/default/nginx.erb:16
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/853f1404379968a8779b4ce7/phabricator/templates/default/nginx.erb:20
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/853f1404379968a8779b4ce7/phabricator/templates/default/nginx.erb:21
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/853f1404379968a8779b4ce7/phabricator/templates/default/nginx.erb:22
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/853f1404379968a8779b4ce7/phabricator/templates/default/nginx.erb:23
FC002: Avoid string interpolation where not required: /tmp/cook/853f1404379968a8779b4ce7/phabricator/recipes/arcanist.rb:16
FC002: Avoid string interpolation where not required: /tmp/cook/853f1404379968a8779b4ce7/phabricator/recipes/arcanist.rb:36
FC034: Unused template variables: /tmp/cook/853f1404379968a8779b4ce7/phabricator/templates/default/nginx.erb:1
FC034: Unused template variables: /tmp/cook/853f1404379968a8779b4ce7/phabricator/templates/default/phd.erb:1
FC039: Node method cannot be accessed with key: /tmp/cook/853f1404379968a8779b4ce7/phabricator/templates/default/nginx.erb:3
FC039: Node method cannot be accessed with key: /tmp/cook/853f1404379968a8779b4ce7/phabricator/templates/default/nginx.erb:6
FC039: Node method cannot be accessed with key: /tmp/cook/853f1404379968a8779b4ce7/phabricator/templates/default/nginx.erb:7
FC039: Node method cannot be accessed with key: /tmp/cook/853f1404379968a8779b4ce7/phabricator/templates/default/nginx.erb:12
FC039: Node method cannot be accessed with key: /tmp/cook/853f1404379968a8779b4ce7/phabricator/templates/default/nginx.erb:15
FC039: Node method cannot be accessed with key: /tmp/cook/853f1404379968a8779b4ce7/phabricator/templates/default/nginx.erb:16
FC039: Node method cannot be accessed with key: /tmp/cook/853f1404379968a8779b4ce7/phabricator/templates/default/nginx.erb:20
FC039: Node method cannot be accessed with key: /tmp/cook/853f1404379968a8779b4ce7/phabricator/templates/default/nginx.erb:21
FC039: Node method cannot be accessed with key: /tmp/cook/853f1404379968a8779b4ce7/phabricator/templates/default/nginx.erb:22
FC039: Node method cannot be accessed with key: /tmp/cook/853f1404379968a8779b4ce7/phabricator/templates/default/nginx.erb:23
1.3.0 failed this metric
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/853f1404379968a8779b4ce7/phabricator/templates/default/nginx.erb:6
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/853f1404379968a8779b4ce7/phabricator/templates/default/nginx.erb:7
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/853f1404379968a8779b4ce7/phabricator/templates/default/nginx.erb:12
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/853f1404379968a8779b4ce7/phabricator/templates/default/nginx.erb:15
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/853f1404379968a8779b4ce7/phabricator/templates/default/nginx.erb:16
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/853f1404379968a8779b4ce7/phabricator/templates/default/nginx.erb:20
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/853f1404379968a8779b4ce7/phabricator/templates/default/nginx.erb:21
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/853f1404379968a8779b4ce7/phabricator/templates/default/nginx.erb:22
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/853f1404379968a8779b4ce7/phabricator/templates/default/nginx.erb:23
FC002: Avoid string interpolation where not required: /tmp/cook/853f1404379968a8779b4ce7/phabricator/recipes/arcanist.rb:16
FC002: Avoid string interpolation where not required: /tmp/cook/853f1404379968a8779b4ce7/phabricator/recipes/arcanist.rb:36
FC034: Unused template variables: /tmp/cook/853f1404379968a8779b4ce7/phabricator/templates/default/nginx.erb:1
FC034: Unused template variables: /tmp/cook/853f1404379968a8779b4ce7/phabricator/templates/default/phd.erb:1
FC039: Node method cannot be accessed with key: /tmp/cook/853f1404379968a8779b4ce7/phabricator/templates/default/nginx.erb:3
FC039: Node method cannot be accessed with key: /tmp/cook/853f1404379968a8779b4ce7/phabricator/templates/default/nginx.erb:6
FC039: Node method cannot be accessed with key: /tmp/cook/853f1404379968a8779b4ce7/phabricator/templates/default/nginx.erb:7
FC039: Node method cannot be accessed with key: /tmp/cook/853f1404379968a8779b4ce7/phabricator/templates/default/nginx.erb:12
FC039: Node method cannot be accessed with key: /tmp/cook/853f1404379968a8779b4ce7/phabricator/templates/default/nginx.erb:15
FC039: Node method cannot be accessed with key: /tmp/cook/853f1404379968a8779b4ce7/phabricator/templates/default/nginx.erb:16
FC039: Node method cannot be accessed with key: /tmp/cook/853f1404379968a8779b4ce7/phabricator/templates/default/nginx.erb:20
FC039: Node method cannot be accessed with key: /tmp/cook/853f1404379968a8779b4ce7/phabricator/templates/default/nginx.erb:21
FC039: Node method cannot be accessed with key: /tmp/cook/853f1404379968a8779b4ce7/phabricator/templates/default/nginx.erb:22
FC039: Node method cannot be accessed with key: /tmp/cook/853f1404379968a8779b4ce7/phabricator/templates/default/nginx.erb:23