summaryrefslogtreecommitdiff
path: root/lib/chef/audit/fetcher/automate.rb
diff options
context:
space:
mode:
authorPete Higgins <pete@peterhiggins.org>2020-11-30 13:31:24 -0800
committerPete Higgins <pete@peterhiggins.org>2020-12-01 16:12:04 -0800
commit59d5ae6941533799649eeee9b28f46ac010e516e (patch)
tree8d15a13934551be9c8af4aa1262c1ad98b7eab67 /lib/chef/audit/fetcher/automate.rb
parent25e803ad07ae58185ac0f4b858b4acdd0f52a4c8 (diff)
downloadchef-59d5ae6941533799649eeee9b28f46ac010e516e.tar.gz
Replace hardcoded product references with the generic versions.
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
Diffstat (limited to 'lib/chef/audit/fetcher/automate.rb')
-rw-r--r--lib/chef/audit/fetcher/automate.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/audit/fetcher/automate.rb b/lib/chef/audit/fetcher/automate.rb
index ea13a18389..b68b96b60a 100644
--- a/lib/chef/audit/fetcher/automate.rb
+++ b/lib/chef/audit/fetcher/automate.rb
@@ -51,7 +51,7 @@ class Chef
"No data-collector token set, which is required by the chef-automate fetcher. " \
"Set the `data_collector.token` configuration parameter in your client.rb " \
'or use the "chef-server-automate" reporter which does not require any ' \
- "data-collector settings and uses Chef Server to fetch profiles."
+ "data-collector settings and uses #{ChefUtils::Dist::Server::PRODUCT} to fetch profiles."
end
end
@@ -61,7 +61,7 @@ class Chef
end
def to_s
- "Chef Automate for Chef Solo Fetcher"
+ "#{ChefUtils::Dist::Automate::PRODUCT} for #{ChefUtils::Dist::Solo::PRODUCT} Fetcher"
end
end
end