cookbook 'phabricator', '= 2.0.1'
phabricator (10) Versions 2.0.1 Follow2
Installs and configures Phabricator
cookbook 'phabricator', '= 2.0.1', :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
apt ~> 2.6 |
php ~> 1.5 |
php-fpm ~> 0.7 |
nginx ~> 2.7 |
mysql ~> 6.0 |
database ~> 3.1 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Phabricator CHANGELOG
2.0.1
- Remove obsolete parameter
storage.upload-size-limit
2.0.0
Upgrading from 1.4 to 2.0:
- Set node['mysql']['version']
to the desired version of MySQL server. The default is 5.5
.
- The MySQL password is now read from the run-time variable node.run_state['mysql_root_password']
.
- Remove the init script /etc/init.d/phd
from your system.
- Make sure the mysql
upstart job does not automatically start, it has been replaced with the mysql-default
job.
- Delete the /etc/mysql/conf.d/phabricator.cnf
file.
Changes in 2.0.0:
- Upgrade to MySQL cookbook ~> 6.0
- Upgrade to PHP cookbook ~> 1.5
- Upgrade to PHP-FPM cookbook ~> 0.7
- Upgrade to Database cookbook ~> 3.1
- Support Ubuntu 14.04.
- MySQL server is now set up using the mysql_service
LWRP, and has changed name to mysql_service[default]
.
- The init script /etc/init.d/phd
has been replaced with an upstart job in /etc/init/phd
.
- The Debian platform is no longer supported.
- Install and enable the //pygments// syntax highlighter.
- Ensure that Nginx virtualhost is not vulnerable to POODLE attack if SSL is enabled.
1.4.1
- Use AND as the default operator for MySQL based fulltext search
1.4.0
- Try to remove both apache2 and apache2.2 packages.
- Add a simple test suite to the default Kitchen environment.
- Make sure that the storage upgrade function is run at least once before trying to configure anything.
- Always make sure that the mysql variables are configured first, and never query them from phabricator/bin/config lest they throw an error.
- Default installation domain to node[:fqdn]
- Always make sure the package list is up to date, using the apt cookbook.
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
2.0.1 passed this metric
2.0.1 passed this metric