cookbook 'sugarcrm_ce', '~> 1.0.0'
sugarcrm_ce (1) Versions 1.0.0 Follow0
Installs/Configures SugarCRM Community Edition
cookbook 'sugarcrm_ce', '~> 1.0.0', :supermarket
knife supermarket install sugarcrm_ce
knife supermarket download sugarcrm_ce
DESCRIPTION:
The cookbook downloads SugarCRM Community Edition and configures SugarCRM's silent installer for easy installation. The user must go to http://server/sugarcrm/ to complete installation.
REQUIREMENTS:
Opscode cookbooks
- mysql
- php
- apache2
- opensssl
- git
Platforms
So far was tested on Ubuntu 10.04, but should work against any platform supported by Opscode apache2, php, and mysql cookbooks.
ATTRIBUTES:
- sugarcrm_ce['admin_pass'] - sets the admin password for SugarCRM instance (default is admin)
- sugarcrm_ce['dir'] - Subdirectory to place sugarcrm files. Default is 'sugarcrm' under Apache's webroot (configured in Opscode apach2 cookbook)
- sugarcrm_ce['db']['database'] - sugarcrm will use this MySQL database to store its data.
- sugarcrm_ce['db']['user'] - sugarcrm will connect to MySQL using this user.
- sugarcrm_ce['db']['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.
USAGE:
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.
Add the recipe to your node or role and let Chef do the rest.
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.
Note
This cookbook requires php cookbook with version 1.2.6 or greater
Author
Author:: NagaLakshmi (nagalakshmi.n@cloudenablers.com)
Copyright:: 2013 CloudEnablers
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
php >= 0.0.0 |
apache2 >= 0.0.0 |
mysql >= 0.0.0 |
openssl >= 0.0.0 |
git >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
1.0.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.0.0 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
1.0.0 failed this metric
FC064: Ensure issues_url is set in metadata: sugarcrm_ce/metadata.rb:1
FC065: Ensure source_url is set in metadata: sugarcrm_ce/metadata.rb:1
FC066: Ensure chef_version is set in metadata: sugarcrm_ce/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: sugarcrm_ce/metadata.rb:1
FC069: Ensure standardized license defined in metadata: sugarcrm_ce/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.0 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
1.0.0 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
1.0.0 failed this metric
1.0.0 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
1.0.0 failed this metric
FC064: Ensure issues_url is set in metadata: sugarcrm_ce/metadata.rb:1
FC065: Ensure source_url is set in metadata: sugarcrm_ce/metadata.rb:1
FC066: Ensure chef_version is set in metadata: sugarcrm_ce/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: sugarcrm_ce/metadata.rb:1
FC069: Ensure standardized license defined in metadata: sugarcrm_ce/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.0 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
1.0.0 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
1.0.0 failed this metric
FC065: Ensure source_url is set in metadata: sugarcrm_ce/metadata.rb:1
FC066: Ensure chef_version is set in metadata: sugarcrm_ce/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: sugarcrm_ce/metadata.rb:1
FC069: Ensure standardized license defined in metadata: sugarcrm_ce/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.0.0 passed this metric
Testing File Metric
1.0.0 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
1.0.0 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
1.0.0 failed this metric
1.0.0 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