summaryrefslogtreecommitdiff
path: root/spec/run_oc_pedant.rb
diff options
context:
space:
mode:
authorStephan Renatus <srenatus@chef.io>2017-03-06 10:04:24 +0100
committerStephan Renatus <srenatus@chef.io>2017-03-06 10:15:14 +0100
commitb2d13e71a3b949d24356974de6d4d90d5ebffe0d (patch)
tree0bf90a6afe9f5c3b5b3fdf8a07a198caa309772d /spec/run_oc_pedant.rb
parent66a875ff63c03dcb3169dac0f01499ad4fde9fb6 (diff)
downloadchef-zero-b2d13e71a3b949d24356974de6d4d90d5ebffe0d.tar.gz
Make pedant read superuser/webui_key from secrets.jsonsr/add-veil-and-pedant-group
The secrets file contains what was used before: stickywicket.pem for both webui_key and superuser_key. Signed-off-by: Stephan Renatus <srenatus@chef.io>
Diffstat (limited to 'spec/run_oc_pedant.rb')
-rw-r--r--spec/run_oc_pedant.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/run_oc_pedant.rb b/spec/run_oc_pedant.rb
index e87fc66..70c5806 100644
--- a/spec/run_oc_pedant.rb
+++ b/spec/run_oc_pedant.rb
@@ -107,6 +107,8 @@ begin
start_chef_server
end
+ ENV["SECRETS_FILE"] = "spec/support/secrets.json"
+
require "rspec/core"
require "pedant"
require "pedant/organization"