cookbook 'magento', '~> 0.8.6'
magento (12) Versions 0.8.6 Follow9
Magento app stack
cookbook 'magento', '~> 0.8.6', :supermarket
knife supermarket install magento
knife supermarket download magento
Magento Cookbook
Collection of recipes to build app stack for the Magento deployments with
Chef
Installation
With Berkshelf
echo "cookbook 'magento', '~> 0.7'" >> Berksfile
berks install
berks upload # if using with Chef Server
With Chef Repository
Run the following commands with-in your Chef Repository:
knife cookbook site install magento
knife cookbook upload magento
Usage Examples
Single Rackspace Cloud Server Instance
Bootstrap Rackspace Cloud Servers instance with:
knife rackspace server create --run-list 'recipe[magento]' --server-name magebox --image 125 --flavor 3
Navigate to the node URL or IP in your browser to complete Magento installation.
NOTE: you might need to skip base url validation.
Default Mysql Credentials:
- database: magento
- user: magentouser
- password: randombly generated, see magento -> db attributes under Chef Server dashboard
See Launch Cloud Instances with Knife for the reference.
Hacking
The project preconfigured with a helper tools for bootstraping cookbook in a
sandboxed environment, i.e. VirtualBox
Requirements
-
Bundler:
gem install bundler
-
Berkshelf:
bundle install
- Vagrant 1.1.0 and greater
- Berkshelf plugin for Vagrant:
vagrant plugin install vagrant-berkshelf
- Omnibus plugin for Vagrant:
vagrant plugin install vagrant-omnibus
Bootstrap VirtualBox
With Ubuntu 12.04
vagrant up
With CentOS 6.5
VMBOX='centos65' vagrant up
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Dependent cookbooks
apt >= 0.0.0 |
yum >= 0.0.0 |
apache2 >= 0.0.0 |
nginx ~> 2.6 |
mysql >= 0.0.0 |
openssl >= 0.0.0 |
php >= 0.0.0 |
yum-epel >= 0.0.0 |
mysql-chef_gem >= 0.0.0 |
php-fpm >= 0.6.4 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.8.6 failed this metric
Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.8.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
0.8.6 failed this metric
FC043: Prefer new notification syntax: magento/recipes/_db_mysql.rb:22
FC043: Prefer new notification syntax: magento/recipes/_web_nginx.rb:17
FC043: Prefer new notification syntax: magento/recipes/_web_nginx.rb:39
FC043: Prefer new notification syntax: magento/recipes/default.rb:65
FC064: Ensure issues_url is set in metadata: magento/metadata.rb:1
FC065: Ensure source_url is set in metadata: magento/metadata.rb:1
FC066: Ensure chef_version is set in metadata: magento/metadata.rb:1
FC069: Ensure standardized license defined in metadata: magento/metadata.rb:1
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: magento/recipes/_db_mysql.rb:53
FC104: Use the :run action in ruby_block instead of :create: magento/recipes/_db_mysql.rb:51
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.8.6 passed this metric
Testing File Metric
0.8.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
0.8.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
0.8.6 failed this metric
0.8.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
0.8.6 failed this metric
FC043: Prefer new notification syntax: magento/recipes/_db_mysql.rb:22
FC043: Prefer new notification syntax: magento/recipes/_web_nginx.rb:17
FC043: Prefer new notification syntax: magento/recipes/_web_nginx.rb:39
FC043: Prefer new notification syntax: magento/recipes/default.rb:65
FC064: Ensure issues_url is set in metadata: magento/metadata.rb:1
FC065: Ensure source_url is set in metadata: magento/metadata.rb:1
FC066: Ensure chef_version is set in metadata: magento/metadata.rb:1
FC069: Ensure standardized license defined in metadata: magento/metadata.rb:1
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: magento/recipes/_db_mysql.rb:53
FC104: Use the :run action in ruby_block instead of :create: magento/recipes/_db_mysql.rb:51
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.8.6 passed this metric
Testing File Metric
0.8.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
0.8.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
0.8.6 failed this metric
FC043: Prefer new notification syntax: magento/recipes/_web_nginx.rb:17
FC043: Prefer new notification syntax: magento/recipes/_web_nginx.rb:39
FC043: Prefer new notification syntax: magento/recipes/default.rb:65
FC064: Ensure issues_url is set in metadata: magento/metadata.rb:1
FC065: Ensure source_url is set in metadata: magento/metadata.rb:1
FC066: Ensure chef_version is set in metadata: magento/metadata.rb:1
FC069: Ensure standardized license defined in metadata: magento/metadata.rb:1
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: magento/recipes/_db_mysql.rb:53
FC104: Use the :run action in ruby_block instead of :create: magento/recipes/_db_mysql.rb:51
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.8.6 passed this metric
Testing File Metric
0.8.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
0.8.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
0.8.6 failed this metric
0.8.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