cookbook 'nomad', '= 0.12.0'
nomad
(32) Versions
0.12.0
-
Follow6
installs/configures nomad
cookbook 'nomad', '= 0.12.0', :supermarket
knife supermarket install nomad
knife supermarket download nomad
nomad
Simple cookbook for installing/managing Nomad, a
distributed, highly-available, datacenter-aware scheduler.
Recipes
nomad::default
Includes the install, configure, manage recipes.
nomad::install
Downloads and installs nomad from the URL specified in attributes/install.rb
.
nomad::configure
Sets up minimal default configuration (controlled by attributes/configure.rb
using the provided resources for global, server, client, and atlas
configuration blocks.
nomad::manage
Installs a system service definition for nomad, using provided daemon args in
attributes/manage.rb
, and enable and start the service.
Resources
nomad*config
resources are for configuring nomad. For full documentation,
see the nomad docs.
nomad_config
attribute | kind_of |
---|---|
region | String |
datacenter | String |
data_dir | String |
log_level | String |
bind_addr | String |
enable_debug | [TrueClass, FalseClass] |
ports | Hash |
addresses | Hash |
advertise | Hash |
telemetry | Hash |
leave_on_interrupt | [TrueClass, FalseClass] |
leave_on_terminate | [TrueClass, FalseClass] |
enable_syslog | [TrueClass, FalseClass] |
syslog_facility | String |
disable_update_check | [TrueClass, FalseClass] |
disable_anonymous_signature | [TrueClass, FalseClass] |
http_api_response_headers | Hash |
nomad_server_config
attribute | kind_of |
---|---|
enabled | [TrueClass, FalseClass] |
bootstrap_expect | Integer |
data_dir | String |
protocol_version | String |
num_schedulers | Integer |
enabled_schedulers | Array |
node_gc_threshold | String |
rejoin_after_leave | [TrueClass, FalseClass] |
retry_join | Array |
retry_interval | String |
retry_max | Integer |
start_join | Array |
nomad_client_config
attribute | kind_of |
---|---|
enabled | [TrueClass, FalseClass] |
state_dir | String |
alloc_dir | String |
servers | Array |
node_id | String |
node_class | String |
meta | Hash |
options | Hash |
network_interface | String |
network_speed | Integer |
max_kill_timeout | String |
reserved | Hash |
nomad_atlas_config
attribute | kind_of |
---|---|
infrastructure | String |
token | String |
join | [TrueClass, FalseClass] |
endpoint | String |
nomad_consul_config
attribute | kind_of |
---|---|
address | String |
auth | String |
auto_advertise | [TrueClass, FalseClass] |
ca_file | String |
cert_file | String |
checks_use_advertise | [TrueClass, FalseClass] |
client_auto_join | [TrueClass, FalseClass] |
client_service_name | String |
key_file | String |
server_service_name | String |
server_auto_join | [TrueClass, FalseClass] |
ssl | [TrueClass, FalseClass] |
token | String |
verify_ssl | [TrueClass, FalseClass] |
nomad_vault_config
attribute | kind_of |
---|---|
address | String |
allow_unauthenticated | [TrueClass, FalseClass] |
enabled | [TrueClass, FalseClass] |
create_from_role | String |
task_token_ttl | String |
ca_file | String |
ca_path | String |
cert_file | String |
key_file | String |
tls_server_name | String |
tls_skip_verify | [TrueClass, FalseClass] |
token | String |
nomad_job
Resource for managing nomad jobs via templates. For help configuring jobs,
see the nomad job spec.
attribute | kind_of |
---|---|
cookbook | String |
source | String |
path | String |
variables | Hash |
Dependent cookbooks
ark >= 0.0.0 |
systemd >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
0.12.0 / 2017-03-22
- update for 0.5.5 (thanks @dbresson!)
0.11.0 / 2017-02-23
- update to 0.5.4 (thanks @erkki!)
- add create_from_vault option (thanks @dbresson!)
0.10.1/ 2017-01-04
- fix private data leak in nomad config files (thanks @evan2645!)
0.10.0 / 2016-12-07
- update to 0.5.0
0.9.0 / 2016-07-06
- update to 0.4.0 release
- add consul-related configuration options (thanks @akhoury6!)
0.8.1 / 2016-04-29
- update to 0.3.2
0.8.0 / 2016-03-16
- update to 0.3.1
- add new config options reserved, and retry_max
0.7.0 / 2016-03-04
- documentation!
- use cadvisor job for testing instead of redis, as it downloads faster
- add CentOS 6 to supported platforms
- add additional configuration options as resource attributes, now up to date with the options as of the 0.3.0 release.
- fix nomad_job stop action to use resource name instead of hcl path
0.6.4 / 2016-02-26
- update to nomad 0.3.0
0.6.3 / 2016-02-14
-
add start_join configuration
0.6.2 / 2016-01-14
update for 0.2.3 release (thanks @ryanslade!)
update test suite platforms
0.6.1 / 2015-12-09
- update for 0.2.1 release
0.6.0 / 2015-11-20
- update for 0.2.0 release
0.5.0 / 2015-10-10
- use latest nomad release
- extended resource attribute validation
- add inital api-related classes
0.4.0 / 2015-10-06
- job lifecycle management run/update via notify, stop
- fixed potential for config resource file path collisions
- testing fixes
0.3.0 / 2015-10-05
- update to latest release
- fixes for EL 6
- testing fixes for EL 7
0.2.0 / 2015-10-03
- allow alternate config paths
- allow setting daemon args
- add network_{interface,speed} attributes
- add nomad_job resource for managing jobs
- testing improvements
0.1.0 / 2015-10-03
- initial release
Collaborator Number Metric
0.12.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.12.0 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.12.0 failed this metric
FC066: Ensure chef_version is set in metadata: nomad/metadata.rb:1
FC069: Ensure standardized license defined in metadata: nomad/metadata.rb:1
Run with Foodcritic Version 11.1.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
0.12.0 failed this metric
nomad 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.12.0 passed this metric
Testing File Metric
0.12.0 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.12.0 passed this metric
0.12.0 failed this metric
0.12.0 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.12.0 failed this metric
FC066: Ensure chef_version is set in metadata: nomad/metadata.rb:1
FC069: Ensure standardized license defined in metadata: nomad/metadata.rb:1
Run with Foodcritic Version 11.1.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
0.12.0 failed this metric
nomad 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.12.0 passed this metric
Testing File Metric
0.12.0 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.12.0 passed this metric
0.12.0 failed this metric
FC069: Ensure standardized license defined in metadata: nomad/metadata.rb:1
Run with Foodcritic Version 11.1.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.12.0 failed this metric
nomad 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.12.0 passed this metric
Testing File Metric
0.12.0 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.12.0 passed this metric
0.12.0 passed this metric
0.12.0 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.12.0 passed this metric
0.12.0 passed this metric