cookbook 'symfony', '~> 2.0.6'
symfony (5) Versions 2.0.6 Follow0
Deploys and configures Symfony-based applications
cookbook 'symfony', '~> 2.0.6', :supermarket
knife supermarket install symfony
knife supermarket download symfony
symfony Cookbook
Requirements
Cookbooks
The following cookbooks are direct dependencies because they're used for common "default" functionality.
The following cookbook is not a strict dependency because its use can be controlled by an attribute, so it may not be a common "default."
- rvm (for sass)
Platforms
The following platforms are supported:
- Ubuntu 10.04, Ubuntu 12.04
- CentOS 5.8, 6.3
Other Debian and RHEL family distributions are assumed to work.
Usage
Attributes
Recipes
Testing
This cookbook uses a variety of testing components:
- Unit tests: ChefSpec
- Integration tests: Test Kitchen
- Chef Style lints: Foodcritic
- Ruby Style lints: Rubocop
Prerequisites
To develop on this cookbook, you must have a sane Ruby 1.9+ environment. Given the nature of this installation process (and it's variance across multiple operating systems), we will leave this installation process to the user.
You must also have bundler
installed:
$ gem install bundler
You must also have Vagrant and VirtualBox installed:
Once installed, you must install the vagrant-berkshelf
plugin:
$ vagrant plugin install vagrant-berkshelf
Development
-
Clone the git repository from GitHub:
$ git clone git@github.com:opscode-cookbooks/COOKBOOK.git
-
Install the dependencies using bundler:
$ bundle install
-
Create a branch for your changes:
$ git checkout -b my_bug_fix
Make any changes
Write tests to support those changes. It is highly recommended you write both unit and integration tests.
-
Run the tests:
bundle exec rspec
bundle exec foodcritic .
bundle exec rubocop
bundle exec kitchen test
Assuming the tests pass, open a Pull Request on GitHub
Dependent cookbooks
nginx ~> 2.4.4 |
php-fpm ~> 0.6.3 |
php ~> 1.4.4 |
mysql ~> 4.1.2 |
database ~> 2.0.0 |
rvm ~> 0.8.6 |
git ~> 3.1.0 |
composer ~> 0.2.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
2.0.6 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
2.0.6 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
2.0.6 failed this metric
FC064: Ensure issues_url is set in metadata: symfony/metadata.rb:1
FC065: Ensure source_url is set in metadata: symfony/metadata.rb:1
FC066: Ensure chef_version is set in metadata: symfony/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: symfony/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
2.0.6 passed this metric
Testing File Metric
2.0.6 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
2.0.6 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 include a tag that matches this cookbook version number
2.0.6 failed this metric
2.0.6 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
2.0.6 failed this metric
FC064: Ensure issues_url is set in metadata: symfony/metadata.rb:1
FC065: Ensure source_url is set in metadata: symfony/metadata.rb:1
FC066: Ensure chef_version is set in metadata: symfony/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: symfony/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
2.0.6 passed this metric
Testing File Metric
2.0.6 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
2.0.6 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 include a tag that matches this cookbook version number
2.0.6 failed this metric
FC065: Ensure source_url is set in metadata: symfony/metadata.rb:1
FC066: Ensure chef_version is set in metadata: symfony/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: symfony/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
2.0.6 passed this metric
Testing File Metric
2.0.6 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
2.0.6 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 include a tag that matches this cookbook version number
2.0.6 failed this metric
2.0.6 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 include a tag that matches this cookbook version number