summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2021-07-13 15:06:09 -0700
committerTim Smith <tsmith@chef.io>2021-07-13 15:34:33 -0700
commitb78dbfb1b761dc09dc629ad5f25ddade7280a524 (patch)
tree401fa745f27d625c6205144622575f6e8de48761
parentbe13d31d1f6097d44b70fc5687f7d521108ea7c0 (diff)
downloadchef-b78dbfb1b761dc09dc629ad5f25ddade7280a524.tar.gz
Use dist constants
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/resource/habitat_service.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/resource/habitat_service.rb b/lib/chef/resource/habitat_service.rb
index 57deaf7321..59b7b877e1 100644
--- a/lib/chef/resource/habitat_service.rb
+++ b/lib/chef/resource/habitat_service.rb
@@ -15,6 +15,7 @@
#
require_relative "../resource"
+require "chef-utils/dist" unless defined?(ChefUtils::Dist)
class Chef
class Resource
@@ -116,7 +117,7 @@ class Chef
# Http port needed for querying/comparing current config value
property :remote_sup_http, String, default: "127.0.0.1:9631", desired_state: false,
- description: "IP Address and port to communicate with the remote supervisor. If this value is invalid, the resource will attempt to update configuration each time Chef Infra Client runs."
+ description: "IP address and port used to communicate with the remote supervisor. If this value is invalid, the resource will update the supervisor configuration each time #{ChefUtils::Dist::Server::PRODUCT} runs."
property :gateway_auth_token, String, desired_state: false,
description: "Auth token for accessing the remote supervisor's http port."