summaryrefslogtreecommitdiff
path: root/lib/chef/application.rb
diff options
context:
space:
mode:
authorMarc Chamberland <chamberland.marc@gmail.com>2019-11-05 13:25:35 -0500
committerMarc Chamberland <chamberland.marc@gmail.com>2019-12-05 08:47:17 -0500
commit13c693c0669c1f65331cd244797529c514cee047 (patch)
tree0ce61e61a954ae03452d565b8e08f0f88e6c2ae6 /lib/chef/application.rb
parente1a8a9d22f587e514b208d747d86a64979bad8db (diff)
downloadchef-13c693c0669c1f65331cd244797529c514cee047.tar.gz
some leftover/new "Chef" references converted to distro constants
Signed-off-by: Marc Chamberland <chamberland.marc@gmail.com>
Diffstat (limited to 'lib/chef/application.rb')
-rw-r--r--lib/chef/application.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/application.rb b/lib/chef/application.rb
index bffa6ba909..197ae20c6d 100644
--- a/lib/chef/application.rb
+++ b/lib/chef/application.rb
@@ -343,7 +343,7 @@ class Chef
exit 0
end
end
- logger.trace "Fork successful. Waiting for new chef pid: #{pid}"
+ logger.trace "Fork successful. Waiting for new #{Chef::Dist::CLIENT} pid: #{pid}"
result = Process.waitpid2(pid)
handle_child_exit(result)
logger.trace "Forked instance successfully reaped (pid: #{pid})"
@@ -355,9 +355,9 @@ class Chef
return true if status.success?
message = if status.signaled?
- "Chef run process terminated by signal #{status.termsig} (#{Signal.list.invert[status.termsig]})"
+ "#{Chef::Dist::PRODUCT} run process terminated by signal #{status.termsig} (#{Signal.list.invert[status.termsig]})"
else
- "Chef run process exited unsuccessfully (exit code #{status.exitstatus})"
+ "#{Chef::Dist::PRODUCT} run process exited unsuccessfully (exit code #{status.exitstatus})"
end
raise Exceptions::ChildConvergeError, message
end