The cookbook downloads SugarCRM Community Edition and configures SugarCRM’s silent installer for easy installation. The user must go to server/sugarcrm/ to complete installation.
Opscode cookbooks, github.com/opscode/cookbooks/tree/master:¶ ↑
-
mysql
-
php
-
apache2
-
opensssl
-
git
So far was tested on Ubuntu 10.04, but should work against any platform supported by Opscode apache2, php, and mysql cookbooks.
-
sugarcrm - sets the admin password for SugarCRM instance (default is admin)
-
sugarcrm - Subdirectory to place sugarcrm files. Default is ‘sugarcrm’ under Apache’s webroot (configured in Opscode apach2 cookbook)
-
sugarcrm[:database] - sugarcrm will use this MySQL database to store its data.
-
sugarcrm[:user] - sugarcrm will connect to MySQL using this user.
-
sugarcrm[:password] - Password for the sugarcrm MySQL user. The default is a randomly generated string.
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.
Uses Opscode mysql, php, apache2 cookbooks to configure LAMP stack and git to checkout the latest stable build of SugarCRM CE. Cookbook just stages installation, setting values in config_si.php, so the first time the user hits the instance installation will finish (no need to answer any questions!).
Just add the recipe to your node or role and let Chef do the rest.
You can login to application using ‘admin’ username and password to create additional users. Default admin user’s password can be overridden at the role or node level.
- Author
-
Wyatt Walter (<wwalter@sugarcrm.com>)
- Copyright
-
2011, SugarCRM
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.