cookbook 'symfony2', '~> 0.0.1'
symfony2 (1) Versions 0.0.1 Follow3
Installs/Configures symfony2
cookbook 'symfony2', '~> 0.0.1', :supermarket
knife supermarket install symfony2
knife supermarket download symfony2
Description
This cookbook runs the Symfony2 console command.
Adapted from Digital Pioneers N.V.
Requirements
Platform
- Debian, Ubuntu
- CentOS, Red Hat, Fedora
Attributes
User and group to run the command as
default[:symfony2][:user] = node[:apache][:user]
default[:symfony2][:group] = node[:apache][:group]
Usage
Run ./console doctrine:database:create
symfony2_console "Create database" do
action :cmd
command "doctrine:database:create"
path node[:zym_app][:dir]
end
Run ./console doctrine:schema:create
symfony2_console "Create schema" do
action :cmd
command "doctrine:schema:create"
path node[:zym_app][:dir]
end
Run ./console doctrine:fixtures:load
symfony2_console "Load fixtures" do
action :cmd
command "doctrine:fixtures:load"
path node[:zym_app][:dir]
end
License and Author
Author:: Geoffrey Tran (geoffrey.tran@gmail.com)
Author:: Florian Holzhauer (f.holzhauer@digitalpioneers.de)
Author:: Ole Michaelis (o.michaelis@digitalpioneers.de)
Author:: Michael Kamphausen (m.kamphausen@digitalpioneers.de)
Copyright:: 2012, Digital Pioneers N.V.
Copyright:: 2012, Geoffrey Tran http://geoffreytran.com
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Dependent cookbooks
apache >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.0.1 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.0.1 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
0.0.1 failed this metric
FC016: LWRP does not declare a default action: symfony2/resources/console.rb:1
FC064: Ensure issues_url is set in metadata: symfony2/metadata.rb:1
FC065: Ensure source_url is set in metadata: symfony2/metadata.rb:1
FC066: Ensure chef_version is set in metadata: symfony2/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: symfony2/metadata.rb:1
FC069: Ensure standardized license defined in metadata: symfony2/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.0.1 passed this metric
Testing File Metric
0.0.1 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
0.0.1 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
0.0.1 failed this metric
0.0.1 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
0.0.1 failed this metric
FC016: LWRP does not declare a default action: symfony2/resources/console.rb:1
FC064: Ensure issues_url is set in metadata: symfony2/metadata.rb:1
FC065: Ensure source_url is set in metadata: symfony2/metadata.rb:1
FC066: Ensure chef_version is set in metadata: symfony2/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: symfony2/metadata.rb:1
FC069: Ensure standardized license defined in metadata: symfony2/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.0.1 passed this metric
Testing File Metric
0.0.1 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
0.0.1 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
0.0.1 failed this metric
FC064: Ensure issues_url is set in metadata: symfony2/metadata.rb:1
FC065: Ensure source_url is set in metadata: symfony2/metadata.rb:1
FC066: Ensure chef_version is set in metadata: symfony2/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: symfony2/metadata.rb:1
FC069: Ensure standardized license defined in metadata: symfony2/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.0.1 passed this metric
Testing File Metric
0.0.1 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
0.0.1 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
0.0.1 failed this metric
0.0.1 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