cookbook 'lxmx_hostname', '~> 0.3.6'
lxmx_hostname (2) Versions 0.3.6 Follow5
A Chef cookbook to set and persist node hostname
cookbook 'lxmx_hostname', '~> 0.3.6', :supermarket
knife supermarket install lxmx_hostname
knife supermarket download lxmx_hostname
lxmx_hostname
Usage
- To set and persist a hostname, set
node['net']['hostname']
. - To set and persist an FQDN, set
node['net']['FQDN']
andnode['net']['IP']
. - Then include
recipe[lxmx_hostname]
in your run_list.
Requirements
Platform
The following platforms are supported by the cookbook:
- ubuntu
- debian
- centos
- redhat
- gentoo
Cookbooks
This cookbook depends on the following external cookbooks:
Recipes
default
Sets and persists node hostname using different approaches on different platforms.
Attributes
-
node['net']['hostname']
- node hostname to set and persist. -
node['net']['FQDN']
- (optional) node FQDN to set and persist. -
node['net']['IP']
- node IP address, set if you're setting an FQDN.
License
Copyright:: Vasily Mikhaylichenko and LxMx.
Licensed under BSD license.
http://opensource.org/licenses/BSD-2-Clause
Dependent cookbooks
hostsfile >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.3.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.3.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.3.6 failed this metric
FC064: Ensure issues_url is set in metadata: lxmx_hostname/metadata.rb:1
FC065: Ensure source_url is set in metadata: lxmx_hostname/metadata.rb:1
FC066: Ensure chef_version is set in metadata: lxmx_hostname/metadata.rb:1
FC069: Ensure standardized license defined in metadata: lxmx_hostname/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.3.6 passed this metric
Testing File Metric
0.3.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.3.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.3.6 failed this metric
0.3.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.3.6 failed this metric
FC064: Ensure issues_url is set in metadata: lxmx_hostname/metadata.rb:1
FC065: Ensure source_url is set in metadata: lxmx_hostname/metadata.rb:1
FC066: Ensure chef_version is set in metadata: lxmx_hostname/metadata.rb:1
FC069: Ensure standardized license defined in metadata: lxmx_hostname/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.3.6 passed this metric
Testing File Metric
0.3.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.3.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.3.6 failed this metric
FC065: Ensure source_url is set in metadata: lxmx_hostname/metadata.rb:1
FC066: Ensure chef_version is set in metadata: lxmx_hostname/metadata.rb:1
FC069: Ensure standardized license defined in metadata: lxmx_hostname/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.3.6 passed this metric
Testing File Metric
0.3.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.3.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.3.6 failed this metric
0.3.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