cookbook 'frnk_cpanel', '~> 0.1.2'
frnk_cpanel (1) Versions 0.1.2 Follow0
Installs the latest cPanel version.
cookbook 'frnk_cpanel', '~> 0.1.2', :supermarket
knife supermarket install frnk_cpanel
knife supermarket download frnk_cpanel
Chef cPanel Cookbook
Install cPanel with Chef!
This Chef cookbook will download the latest cPanel installation script and run it on a bootstrap node only if cPanel is already not installed. Please do note that this is an unofficial cPanel cookbook. It was made on my free time to practice my Chef skills. :)
System Requirements
Please review the cPanel software's system requirements at their official docs website listed below.
cPanel System Requirements Docs
Assumptions
This cookbook assumes that the node is compliant with cPanel's requirements. You can read these requirements under the "Important" notification box located in their official installation guide.
cPanel Installation Guide
Attributes
Attributes for the /var/cpanel/cpanel.config
file are available. You can set preferred settings for your cPanel/WHM installation.
The cpanel.config File
You can set some of these attributes by creating a wrapper cookbook or updating the default.rb recipe file.
Example
$ cat ~/chef-repo/cookbooks/cpanel/recipes/default.rb
# Cookbook:: cpanel
# Recipe:: default
# Example attribute change.
node.default['cpanel']['access_log'] = '/var/log/cpanel-access.log'
include_recipe 'cpanel::install_cpanel'
include_recipe 'cpanel::configure_cpanel'
Usage Notes
To utilize this cookbook you will need to add it to your desired nodes runlist or associate it with a role and assign that role to your node.
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Chef cPanel Cookbook CHANGELOG
This file is used to list changes made in each version of the cpanel cookbook.
0.1.2
Added attributes! You can now configure your cPanel/WHM installation.
https://documentation.cpanel.net/display/70Docs/The+cpanel.config+File
0.1.1
Fixed issue with guard that's in place. Tested & working now! :)
0.1.0
Initial release.
Collaborator Number Metric
0.1.2 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.1.2 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.1.2 passed this metric
No Binaries Metric
0.1.2 passed this metric
Testing File Metric
0.1.2 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.1.2 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.1.2 failed this metric
0.1.2 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.1.2 passed this metric
No Binaries Metric
0.1.2 passed this metric
Testing File Metric
0.1.2 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.1.2 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.1.2 passed this metric
0.1.2 passed this metric
Testing File Metric
0.1.2 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.1.2 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.1.2 failed this metric
0.1.2 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