Skip to content

Chef cookbook for Magento installation and configuration.

Notifications You must be signed in to change notification settings

bardusco/cookbook-magento

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DESCRIPTION:

Cookbook for deploying Magento.

This README needs some love, and is most likely out of date.

This cookbook makes a few assumptions…

  • You deploy from a code repository. No generic installation from community tarball. (If you want vanilla community edition you can use the Magento mirror at github.com/LokeyCoding/magento-mirror.git)

  • You have an entire Magento codebase in your repository. No Modman. I’d be happy to pull in additional Modman functionality if separated into a separate recipe.

REQUIREMENTS:

Platform:

Tested on Ubuntu 10.04

Cookbooks:

Opscode cookbooks:

  • mysql

  • php

  • apache2

  • opensssl

Libraries:

The openssl library is required from the openssl cookbook to generate secure passwords.

ATTRIBUTES:

  • magento - An array of hostname alias.

  • magento - The Magento installation directory.

  • magento[:host] - The Magento database host.

  • magento[:database] - The Magento database.

  • magento[:username] - The database username.

  • magento[:password] - The database password. Defaults to a random secure pass.

  • magento[:prefix] - The database table prefix. Defaults to no prefix.

  • magento[:save] - The Magento session storage strategy.

  • magento - The local code.

  • magento - The timezone.

  • magento - The default currency.

  • magento - Yes skips validation on installation.

  • magento - Yes uses rewrites rather than index.php/url

  • magento - Yes uses HTTPS in frontend.

  • magento - Yes uses HTTPS for admin backend.

  • magento[:frontname] - Frontname for the admin backend.

  • magento[:firstname] - Admin user firstname when running installer.

  • magento[:lastname] - Admin user lastname when running installer.

  • magento[:email] - Admin user email when running installer.

  • magento[:username] = Admin user login.

  • magento[:password] = Admin user password.

  • magento[:enckey] - The Magento encryption key.

  • magento - Sets the Magento developer mode in Apache config. 1/0

  • magento - Enables Magento profiling in Apache config. 1/0

  • magento[:url] - Url to Magento sample data.

  • magento[:checksum] - Checksum of Magento sample data Url.

The random generation is handled with the secure_password method in the openssl cookbook which is a cryptographically secure random generator and not predictable like the random method in the ruby standard library.

LICENSE and AUTHOR:

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.

Copyright

2011, Guidance Solutions, Inc.

Author

Ticean Bennett, <[email protected]>

About

Chef cookbook for Magento installation and configuration.

Resources

Stars

Watchers

Forks

Packages

No packages published