Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

magento-ng (12) Versions 0.3.1

Installs/Configures magento-ng

Policyfile
Berkshelf
Knife
cookbook 'magento-ng', '= 0.3.1', :supermarket
cookbook 'magento-ng', '= 0.3.1'
knife supermarket install magento-ng
knife supermarket download magento-ng
README
Dependencies
Changelog
Quality 100%

magento-ng-cookbook

A collection of recipes to prepare environments for hosting Magento applications.

Supported Platforms

TBC...

Recipes

magento-ng::cron

Sets up the system cron to call the Magento cron executor for each defined Magento site.

magento-ng::etc-local

Prepared the local.xml file for each defined Magento site.

magento-ng::stack

Set up a complete Magento application server calling many of the other magento-ng recipes.

Attributes

<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['magento']['db']['host']</tt></td>
<td>String</td>
<td>Database host name / IP</td>
<td><tt>localhost</tt></td>
</tr>
<tr>
<td><tt>['magento']['db']['database']</tt></td>
<td>String</td>
<td>Database name</td>
<td><tt>magentodb</tt></td>
</tr>
<tr>
<td><tt>['magento']['db']['username']</tt></td>
<td>String</td>
<td>Database user name</td>
<td><tt>magentouser</tt></td>
</tr>
<tr>
<td><tt>['magento']['db']['password']</tt></td>
<td>String</td>
<td>Database user password</td>
<td><tt></tt></td>
</tr>
<tr>
<td><tt>['magento']['db']['persistant']</tt></td>
<td>String</td>
<td>Use persistent connections</td>
<td><tt>0</tt></td>
</tr>
<tr>
<td><tt>['magento']['db']['active']</tt></td>
<td>String</td>
<td>Is the database active</td>
<td><tt>1</tt></td>
</tr>
<tr>
<td><tt>['magento']['db']['model']</tt></td>
<td>String</td>
<td>Database type</td>
<td><tt>mysql4</tt></td>
</tr>
<tr>
<td><tt>['magento']['db']['initStatements']</tt></td>
<td>String</td>
<td>Database init statements</td>
<td><tt>SET NAMES utf8</tt></td>
</tr>
<tr>
<td><tt>['magento']['db']['type']</tt></td>
<td>String</td>
<td>PHP database driver</td>
<td><tt>pdo_mysql</tt></td>
</tr>
<tr>
<td><tt>['magento']['app']['base_path']</tt></td>
<td>String</td>
<td>Path to the root of the Magento files</td>
<td><tt>public</tt></td>
</tr>
<tr>
<td><tt>['magento']['app']['locale']</tt></td>
<td>String</td>
<td>Default locale</td>
<td><tt>en_GB</tt></td>
</tr>
<tr>
<td><tt>['magento']['app']['timezone']</tt></td>
<td>String</td>
<td>Default timezone</td>
<td><tt>Europe/London</tt></td>
</tr>
<tr>
<td><tt>['magento']['app']['currency']</tt></td>
<td>String</td>
<td>Default currency</td>
<td><tt>GBP</tt></td>
</tr>
<tr>
<td><tt>['magento']['app']['session_save']</tt></td>
<td>String</td>
<td>Session storage type (files|db|memcache)</td>
<td><tt>db</tt></td>
</tr>
<tr>
<td><tt>['magento']['app']['admin_frontname']</tt></td>
<td>String</td>
<td>URL path to the admin</td>
<td><tt>admin</tt></td>
</tr>
<tr>
<td><tt>['magento']['app']['use_rewrites']</tt></td>
<td>String</td>
<td>Whether to use URL rewriting</td>
<td><tt>yes</tt></td>
</tr>
<tr>
<td><tt>['magento']['app']['use_secure']</tt></td>
<td>String</td>
<td>Allow secure connections</td>
<td><tt>yes</tt></td>
</tr>
<tr>
<td><tt>['magento']['app']['use_secure_admin']</tt></td>
<td>String</td>
<td>Allow secure connections to admin</td>
<td><tt>yes</tt></td>
</tr>
<tr>
<td><tt>['magento']['app']['multi_session_save']</tt></td>
<td>String</td>
<td>Multi session storage type (files|db|memcache)</td>
<td><tt>db</tt></td>
</tr>
<tr>
<td><tt>['magento']['app']['session_memcache_ip']</tt></td>
<td>String</td>
<td>IP of session storage memcache instance</td>
<td><tt>127.0.0.1</tt></td>
</tr>
<tr>
<td><tt>['magento']['app']['session_memcache_port']</tt></td>
<td>String</td>
<td>Port to connect to session storage memcache</td>
<td><tt>11211</tt></td>
</tr>
<tr>
<td><tt>['magento']['app']['backend_cache']</tt></td>
<td>String</td>
<td>Cache storage type (apc|memcache|xcache|file|CM_Cache_Backend_Redis)</td>
<td><tt>file</tt></td>
</tr>
<tr>
<td><tt>['magento']['app']['slow_backend']</tt></td>
<td>String</td>
<td>Slow cache storage type (database|file)</td>
<td><tt>database</tt></td>
</tr>
<tr>
<td><tt>['magento']['redis']['host']</tt></td>
<td>String</td>
<td>Hostnane/IP of the Redis instance</td>
<td><tt>127.0.0.1</tt></td>
</tr>
<tr>
<td><tt>['magento']['redis']['port']</tt></td>
<td>String</td>
<td>Redis instance port</td>
<td><tt>6379</tt></td>
</tr>
<tr>
<td><tt>['magento']['redis']['timeout']</tt></td>
<td>String</td>
<td>Redis connection timeout</td>
<td><tt>2.5</tt></td>
</tr>
<tr>
<td><tt>['magento']['redis']['database']</tt></td>
<td>String</td>
<td>Database to use for backend cache</td>
<td><tt>0</tt></td>
</tr>
<tr>
<td><tt>['magento']['redis']['full_page_cache_database']</tt></td>
<td>String</td>
<td>Database to use for full page cache</td>
<td><tt>1</tt></td>
</tr>
<tr>
<td><tt>['magento']['redis']['session_database']</tt></td>
<td>String</td>
<td>Database to use for session storage</td>
<td><tt>2</tt></td>
</tr>
<tr>
<td><tt>['magento']['redis']['force_standalone']</tt></td>
<td>String</td>
<td>Enforce standalone PHP redis, 0 for phpredis</td>
<td><tt>0</tt></td>
</tr>
<tr>
<td><tt>['magento']['redis']['automatic_cleaning_factor']</tt></td>
<td>String</td>
<td>Enable automatic cleaning (not recommended)</td>
<td><tt>0</tt></td>
</tr>
<tr>
<td><tt>['magento']['redis']['compress_data']</tt></td>
<td>String</td>
<td>Enable data compression</td>
<td><tt>1</tt></td>
</tr>
<tr>
<td><tt>['magento']['redis']['compress_tags']</tt></td>
<td>String</td>
<td>Enable tag compression</td>
<td><tt>1</tt></td>
</tr>
<tr>
<td><tt>['magento']['redis']['compress_threshold']</tt></td>
<td>String</td>
<td>Minimum string size for compression</td>
<td><tt>2040</tt></td>
</tr>
<tr>
<td><tt>['magento']['redis']['compression_lib']</tt></td>
<td>String</td>
<td>Compression library (gzip|lzf|l4z|snappy)</td>
<td><tt>gzip</tt></td>
</tr>
<tr>
<td><tt>['magento']['global']['extra_params']</tt></td>
<td>Object</td>
<td>Key/value parameter pairs</td>
<td><tt>
{
'skip_process_modules_updates' => 1,
'skip_process_modules_updates_dev_mode' => 1
}
</tt></td>
</tr>
</table>

License and Authors

Author:: Andy Thompson (athompson@inviqa.com)

Copyright 2015, Inviqa

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

config-driven-helper ~> 1.4
cron ~> 1.4
php-fpm >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

0.3.1 (02 October 2015)

FEATURES

  • Add support for include/exclude groups/jobs in AOE Scheduler cron

0.3.0 (21 September 2015)

FEATURES

  • Add support for AOE Scheduler cron and watchdog

0.2.1 (9 July 2015)

BUG FIXES

  • Fix crypt key attribute path

0.2.0 (3 July 2015)

IMPROVEMENTS

  • Reduce duplication in database configuration
  • Reduce restirctions on dependencies

0.1.1 (1 July 2015)

FEATURES

  • Add stack recipe

BUG FIXES

  • Fix app attribute path
  • Use raise in place of fatal exceptions

0.1.0 (7 June 2015)

FEATURES

  • Initial release of magento-ng

Foodcritic Metric
            

0.3.1 passed this metric