cookbook 'phabricator', '~> 3.2.0', :supermarket
phabricator (10) Versions 3.2.0 Follow2
Installs and configures Phabricator
cookbook 'phabricator', '~> 3.2.0'
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 14.04.
Cookbooks
apt ~> 2.6
php ~> 1.5
php-fpm ~> 0.7
nginx ~> 2.7
mysql ~> 6.0
database ~> 3.1
Attributes
See attributes/default.rb
.
Usage
Just include phabricator
in your node's run_list
:
{
"name": "my_node",
"run_list": [
"recipe[phabricator]"
]
}
MySQL Installation
If node['phabricator]['mysql_host']
is set to localhost
, the cookbook will
install and configure the MySQL server appropriately. Otherwise, it will
configure Phabricator to connect to an external database. In the latter case, a
MySQL database user will //not// be managed by this cookbook.
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.
- Kim Tore Jensen (kimtj@met.no)
- Martin Grønlien Pejcoch (mgp@met.no)
- Michael Akinde (michael.akinde@met.no)
- Andrew Mulholland (andrew.mulholland@aetion.com)
- Donald Guy (fawkes@mit.edu)
Dependent cookbooks
database ~> 3.1 |
mysql ~> 6.0 |
nginx ~> 2.7 |
php-fpm ~> 0.7 |
php ~> 1.5 |
apt ~> 2.6 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Phabricator CHANGELOG
3.0.0
- Consolidate PHP configuration into a single variable, really setting boolean variables
2.2.0
- Set PHP directive
apc.write_lock
totrue
- Set PHP directive
apc.slam_defense
tofalse
2.1.0
- Default PHP option
post_max_size
to '32M' - Set MySQL max_allowed_packet to 32M
- Add large file store support through config option
storage.local-disk.path
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
Collaborator Number Metric
3.2.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
3.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
3.2.0 failed this metric
FC064: Ensure issues_url is set in metadata: phabricator/metadata.rb:1
FC065: Ensure source_url is set in metadata: phabricator/metadata.rb:1
FC066: Ensure chef_version is set in metadata: phabricator/metadata.rb:1
FC069: Ensure standardized license defined in metadata: phabricator/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
3.2.0 passed this metric
Publish Metric
3.2.0 passed this metric
Supported Platforms Metric
3.2.0 passed this metric
Testing File Metric
3.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
3.2.0 passed this metric
3.2.0 failed this metric
3.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
3.2.0 failed this metric
FC064: Ensure issues_url is set in metadata: phabricator/metadata.rb:1
FC065: Ensure source_url is set in metadata: phabricator/metadata.rb:1
FC066: Ensure chef_version is set in metadata: phabricator/metadata.rb:1
FC069: Ensure standardized license defined in metadata: phabricator/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
3.2.0 passed this metric
Publish Metric
3.2.0 passed this metric
Supported Platforms Metric
3.2.0 passed this metric
Testing File Metric
3.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
3.2.0 passed this metric
3.2.0 failed this metric
FC065: Ensure source_url is set in metadata: phabricator/metadata.rb:1
FC066: Ensure chef_version is set in metadata: phabricator/metadata.rb:1
FC069: Ensure standardized license defined in metadata: phabricator/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
3.2.0 passed this metric
Publish Metric
3.2.0 passed this metric
Supported Platforms Metric
3.2.0 passed this metric
Testing File Metric
3.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
3.2.0 passed this metric
3.2.0 passed this metric
3.2.0 passed this metric
Testing File Metric
3.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
3.2.0 passed this metric
3.2.0 failed this metric
3.2.0 passed this metric