summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorMarc Chamberland <chamberland.marc@gmail.com>2020-05-09 22:58:18 -0400
committerLance Albertson <lance@osuosl.org>2020-09-15 14:04:36 -0700
commited48186831835be81b436a160bcf190a7756d473 (patch)
treed4ae8196171c57dc2e773e610997e5894e5cf019 /ext
parentf5bbe608321ce3bcfd2d4f17292cf8c1ff042893 (diff)
downloadchef-ed48186831835be81b436a160bcf190a7756d473.tar.gz
move dist implementation into chef-utils
Signed-off-by: Marc Chamberland <chamberland.marc@gmail.com> Signed-off-by: Lance Albertson <lance@osuosl.org>
Diffstat (limited to 'ext')
-rw-r--r--ext/win32-eventlog/Rakefile4
-rw-r--r--ext/win32-eventlog/chef-log.man.erb8
2 files changed, 6 insertions, 6 deletions
diff --git a/ext/win32-eventlog/Rakefile b/ext/win32-eventlog/Rakefile
index 2cf1a40896..8d681611d3 100644
--- a/ext/win32-eventlog/Rakefile
+++ b/ext/win32-eventlog/Rakefile
@@ -2,7 +2,7 @@ require "rubygems"
require "rake"
require "mkmf"
require "erb"
-require_relative "../../lib/chef/dist"
+require_relative "../../chef-utils/lib/chef-utils/dist"
desc "Building event log dll"
@@ -51,7 +51,7 @@ task register: EVT_SHARED_OBJECT do
begin
Win32::EventLog.add_event_source(
source: "Application",
- key_name: Chef::Dist::SHORT,
+ key_name: ChefUtils::Dist::Infra::SHORT,
event_message_file: dll_file,
category_message_file: dll_file
)
diff --git a/ext/win32-eventlog/chef-log.man.erb b/ext/win32-eventlog/chef-log.man.erb
index 2e767a8cfe..83be49b4d2 100644
--- a/ext/win32-eventlog/chef-log.man.erb
+++ b/ext/win32-eventlog/chef-log.man.erb
@@ -1,25 +1,25 @@
MessageId=10000
SymbolicName=RUN_START
Language=English
-Starting <%= Chef::Dist::PRODUCT %> run v%1
+Starting <%= ChefUtils::Dist::Infra::PRODUCT %> run v%1
.
MessageId=10001
SymbolicName=RUN_STARTED
Language=English
-Started <%= Chef::Dist::PRODUCT %> run %1
+Started <%= ChefUtils::Dist::Infra::PRODUCT %> run %1
.
MessageId=10002
SymbolicName=RUN_COMPLETED
Language=English
-Completed <%= Chef::Dist::PRODUCT %> run %1 in %2 seconds
+Completed <%= ChefUtils::Dist::Infra::PRODUCT %> run %1 in %2 seconds
.
MessageId=10003
SymbolicName=RUN_FAILED
Language=English
-Failed <%= Chef::Dist::PRODUCT %> run %1 in %2 seconds.%n
+Failed <%= ChefUtils::Dist::Infra::PRODUCT %> run %1 in %2 seconds.%n
Exception type: %3%n
Exception message: %4%n
Exception backtrace: %5%n