cookbook 'nomad-agent', '= 0.1.5'
nomad-agent (7) Versions 0.1.5 Follow0
Installs/Configures nomad
cookbook 'nomad-agent', '= 0.1.5', :supermarket
knife supermarket install nomad-agent
knife supermarket download nomad-agent
Nomad agent cookbook
This cookbook is to used to install and configure HashiCorp Nomad.
Requirements
Platforms
- RHEL 7+
- Ubuntu 16.04+
Chef
- Chef 12.5+
Attributes
The following attributes affect the behavior of the nomad agent or are used in the recipes for various settings that require flexibility.
Requires:
-
node['nomad']['config']['server']['enabled']
- Specifies if this agent should run in server mode.true
orfalse
. -
node['nomad']['config']['server']['bootstrap_expect']
- Specifies the number of server nodes to wait for before bootstrapping.
Optional:
-
node['nomad']['version']
- The version of Nomad. Default "0.7.0". -
node['nomad']['service_name']
- The name of Nomad service. Default "nomad". -
node['nomad']['service_user']
- The name of user for the owner of Nomad service files and directories. Default "nomad". -
node['nomad']['service_group']
- The name of group of Nomad service files and directories. Default "nomad". -
node['nomad']['create_service_user']
- Whether the service user and group will be created. Default "true". -
node['nomad']['config']['path']
- The path of a default configuration file of Nomad agent. Default "/etc/nomad/default.json". -
node['nomad']['config']['data_dir']
- Specifies a local directory used to store agent state. Default "/var/lib/nomad". -
node['nomad']['config']['bind_addr']
- Specifies which address the Nomad agent should bind to for network services. Default "0.0.0.0". -
node['nomad']['config']['name']
- Specifies the name of the local node. Defaultnode['fqdn']
. -
node['nomad']['config']['datacenter']
- Specifies the data center of the local agent. Default "dc1". -
node['nomad']['config']['advertise']['http']
- The address to advertise for the HTTP interface. Defaultnode['ipaddress']
. -
node['nomad']['config']['advertise']['rpc']
- The address to advertise for the RPC interface. Defaultnode['ipaddress']
. -
node['nomad']['config']['advertise']['serf']
- The address advertised for the gossip layer. Defaultnode['ipaddress']
. -
node['nomad']['config']['consul']['address']
- Specifies configuration for connecting to Consul. Default#{node['ipaddress']}:8500
-
node['nomad']['service']['config_dir']
- Specifies the directory of additional configuration files. Default "/etc/nomad/conf.d".
Recipes
default
Installs and configures HashiCorp Nomad.
Dependent cookbooks
poise-archive >= 0.0.0 |
poise-service >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.1.5 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.5 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.5 failed this metric
FC067: Ensure at least one platform supported in metadata: nomad-agent/metadata.rb:1
FC108: Resource should not define a property named 'name': nomad-agent/resources/config.rb:26
Run with Foodcritic Version 12.2.1 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
0.1.5 failed this metric
nomad-agent does not have a valid open source license.
Acceptable licenses include Apache-2.0, apachev2, Apache 2.0, MIT, mit, GPL-2.0, gplv2, GNU Public License 2.0, GPL-3.0, gplv3, GNU Public License 3.0.
No Binaries Metric
0.1.5 passed this metric
Testing File Metric
0.1.5 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.5 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.5 failed this metric
0.1.5 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.5 failed this metric
FC067: Ensure at least one platform supported in metadata: nomad-agent/metadata.rb:1
FC108: Resource should not define a property named 'name': nomad-agent/resources/config.rb:26
Run with Foodcritic Version 12.2.1 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
0.1.5 failed this metric
nomad-agent does not have a valid open source license.
Acceptable licenses include Apache-2.0, apachev2, Apache 2.0, MIT, mit, GPL-2.0, gplv2, GNU Public License 2.0, GPL-3.0, gplv3, GNU Public License 3.0.
No Binaries Metric
0.1.5 passed this metric
Testing File Metric
0.1.5 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.5 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.5 failed this metric
FC108: Resource should not define a property named 'name': nomad-agent/resources/config.rb:26
Run with Foodcritic Version 12.2.1 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.5 failed this metric
nomad-agent does not have a valid open source license.
Acceptable licenses include Apache-2.0, apachev2, Apache 2.0, MIT, mit, GPL-2.0, gplv2, GNU Public License 2.0, GPL-3.0, gplv3, GNU Public License 3.0.
No Binaries Metric
0.1.5 passed this metric
Testing File Metric
0.1.5 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.5 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.5 passed this metric
0.1.5 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.5 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.5 failed this metric