cookbook 'cpanel', '~> 0.1.6'
cpanel (4) Versions 0.1.6 Follow0
Configures cpanel, installs dns_only
cookbook 'cpanel', '~> 0.1.6', :supermarket
knife supermarket install cpanel
knife supermarket download cpanel
cpanel Cookbook
This cookbook is meant to manage and install cPanel (as automated as possible)
Currently not many features have been installed
Requirements
e.g.
Platforms
- CentOS
- RedHat
- CloudLinux
Chef
- Chef 12.0 or later
Cookbooks
Cookbook | Description |
---|---|
default.rb | Does nothing at all |
manage.rb | installs all the applications (clamav, whmcs, packages,features) if enabled by attribute |
dns_only.rb | Install dns_only cpanel without any configuration been touched |
Attributes
cpanel::default
Attribute | Default | Description |
---|---|---|
node['cpanel']['manage_features']['clamav'] |
false | Executes the clamav installation/configuration |
node['cpanel']['manage_features']['features'] |
false | Manages Features (for packages) |
node['cpanel']['manage_features']['packages'] |
false | Manages Packages |
node['cpanel']['manage_features']['whmcs'] |
false | Copies a WHMCS page under /var/www/html for use with WHMCS |
Usage
cpanel::default
TODO: Write usage instructions for each cookbook.
e.g.
Just include cpanel
in your node's run_list
:
{ "name":"my_node", "run_list": [ "recipe[cpanel::manage]" ] }
Contributing
- Fork the repository on Gitlab
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
License and Authors
Author: | Vassilis Aretakis (<vassilis@aretakis.eu) |
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
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
cpanel CHANGELOG
0.1.5
- [Vassilis Aretakis] - Add documentation for cpanel
0.1.4
- [Vassilis Aretakis] - Initial release of cpanel
Collaborator Number Metric
0.1.6 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.6 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.6 failed this metric
FC066: Ensure chef_version is set in metadata: cpanel/metadata.rb:1
FC069: Ensure standardized license defined in metadata: cpanel/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.6 passed this metric
Testing File Metric
0.1.6 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.6 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.6 failed this metric
0.1.6 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.6 failed this metric
FC066: Ensure chef_version is set in metadata: cpanel/metadata.rb:1
FC069: Ensure standardized license defined in metadata: cpanel/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.6 passed this metric
Testing File Metric
0.1.6 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.6 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.6 failed this metric
FC069: Ensure standardized license defined in metadata: cpanel/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.6 passed this metric
Testing File Metric
0.1.6 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.6 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.6 failed this metric
0.1.6 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