Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

RSS

nomad-agent (7) Versions 0.1.9

Installs/Configures nomad

Berkshelf
Policyfile
Knife
cookbook 'nomad-agent', '~> 0.1.9'
cookbook 'nomad-agent', '~> 0.1.9', :supermarket
knife supermarket install nomad-agent
knife supermarket download nomad-agent
README
Dependencies
Quality 38%

Nomad agent cookbook

CircleCI Chef 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 or false.
  • 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. Default node['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. Default node['ipaddress'].
  • node['nomad']['config']['advertise']['rpc'] - The address to advertise for the RPC interface. Default node['ipaddress'].
  • node['nomad']['config']['advertise']['serf'] - The address advertised for the gossip layer. Default node['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-service >= 0.0.0
poise-archive >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.1.9 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.9 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.9 failed this metric

FC118: Resource property setting name_attribute vs. name_property: nomad-agent/resources/config.rb:3
FC118: Resource property setting name_attribute vs. name_property: nomad-agent/resources/installation.rb:5
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

0.1.9 passed this metric

Publish Metric
            

0.1.9 passed this metric

Supported Platforms Metric
            

0.1.9 passed this metric

Testing File Metric
            

0.1.9 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.9 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