diff options
Diffstat (limited to 'lib/chef/data_collector.rb')
-rw-r--r-- | lib/chef/data_collector.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/data_collector.rb b/lib/chef/data_collector.rb index eb349be928..677dc99faf 100644 --- a/lib/chef/data_collector.rb +++ b/lib/chef/data_collector.rb @@ -192,7 +192,7 @@ class Chef raise else # Make the message non-scary for folks who don't have automate: - msg << " (This is normal if you do not have Chef Automate)" + msg << " (This is normal if you do not have #{Chef::Dist::AUTOMATE})" Chef::Log.info(msg) end end @@ -312,7 +312,7 @@ class Chef return true when running_mode == :solo && !Chef::Config[:data_collector][:token] # we are in solo mode and are not logging to a file, so must have a token - Chef::Log.trace("Data collector token must be configured to use Chef Automate data collector with #{Chef::Dist::PRODUCT} Solo") + Chef::Log.trace("Data collector token must be configured to use #{Chef::Dist::AUTOMATE} data collector with #{Chef::Dist::SOLO}") return false else return true |