summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-10-20 15:08:16 -0700
committerTim Smith <tsmith84@gmail.com>2020-10-20 15:22:03 -0700
commitdacfad4483cc4eb47c49f4a30c4bf0d685fb5648 (patch)
tree9c733bf7b382ccce28dff4eb1b2c0d14e9295a04 /Rakefile
parentbbb1c7c9d857ca367f7ddf9b6d803b2cbc8b2e0a (diff)
downloadchef-dacfad4483cc4eb47c49f4a30c4bf0d685fb5648.tar.gz
Add missing require in the Rakefile
This was coming in for free with the other rake task. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 3df287ca68..20249d552e 100644
--- a/Rakefile
+++ b/Rakefile
@@ -47,6 +47,7 @@ namespace :pre_install do
desc "Renders the powershell extensions with distro flavoring"
task :render_powershell_extension do
+ require "erb"
template_file = ::File.join(::File.dirname(__FILE__), "distro", "templates", "powershell", "chef", "chef.psm1.erb")
psm1_path = ::File.join(::File.dirname(__FILE__), "distro", "powershell", "chef")
FileUtils.mkdir_p psm1_path