summaryrefslogtreecommitdiff
path: root/spec/data/shef-config.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/data/shef-config.rb')
-rw-r--r--spec/data/shef-config.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/data/shef-config.rb b/spec/data/shef-config.rb
index 0e2521c5b4..1ace5efd21 100644
--- a/spec/data/shef-config.rb
+++ b/spec/data/shef-config.rb
@@ -7,5 +7,5 @@ ohai[:disabled_plugins] << "solaris2::cpu" << "solaris2::dmi" << "solaris2::file
ohai[:disabled_plugins] << "solaris2::virtualization" << "solaris2::zpools"
ohai[:disabled_plugins] << "c" << "php" << "mono" << "groovy" << "lua" << "erlang"
ohai[:disabled_plugins] << "kernel" << "linux::filesystem" << "ruby"
-chef_repo_path File.dirname(__FILE__)
+chef_repo_path __dir__
cookbook_path "#{chef_repo_path}/cookbooks"