summaryrefslogtreecommitdiff
path: root/omnibus/config/projects/chef-fips.rb
diff options
context:
space:
mode:
Diffstat (limited to 'omnibus/config/projects/chef-fips.rb')
-rw-r--r--omnibus/config/projects/chef-fips.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/omnibus/config/projects/chef-fips.rb b/omnibus/config/projects/chef-fips.rb
index e9a74fc922..d8c6c79c91 100644
--- a/omnibus/config/projects/chef-fips.rb
+++ b/omnibus/config/projects/chef-fips.rb
@@ -18,7 +18,8 @@
# This is the chef client build with FIPS mode enabled.
# It's a stub for now and produces identical results
#
-chef_project_contents = IO.read(File.expand_path("../chef.rb", __FILE__))
+current_file = __FILE__
+chef_project_contents = IO.read(File.expand_path("../chef.rb", current_file))
self.instance_eval chef_project_contents
name "chef-fips"