Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

consul_config: Add "node_id" option #420

Merged
merged 1 commit into from
Mar 21, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions libraries/consul_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ class ConsulConfig < Chef::Resource
attribute(:key_file, kind_of: String)
attribute(:leave_on_terminate, equal_to: [true, false], default: false)
attribute(:log_level, equal_to: %w(INFO DEBUG WARN), default: 'INFO')
attribute(:node_id, kind_of: String)
attribute(:node_name, kind_of: String)
attribute(:performance, kind_of: [Hash, Mash])
attribute(:ports, kind_of: [Hash, Mash])
Expand Down Expand Up @@ -147,6 +148,7 @@ def to_json
leave_on_terminate
log_level
node_name
node_id
performance
ports
protocol
Expand Down