diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-09-17 22:59:14 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-09-17 22:59:14 -0700 |
commit | 4582705119147fa225c7765ae5c5ed2bfa95cc6a (patch) | |
tree | 8805008678253edb69e789614e9e3f4e1b70c145 | |
parent | 74857c999643efe58232eb5049c539916a76e3d8 (diff) | |
download | chef-4582705119147fa225c7765ae5c5ed2bfa95cc6a.tar.gz |
Add missing requires to chef/policy_builder/dynamic
This was coming in for free before somehow, but now it's causing
failures in the Chef Workstation specs.
ERROR: Chef Infra failed to converge: uninitialized constant Chef::PolicyBuilder::Dynamic::ExpandNodeObject from file /opt/chef-workstation/embedded/lib/ruby/gems/2.7.0/gems/chef-16.5.64/lib/chef/policy_builder/dynamic.rb:158:in `select_implementation'
Caused by: (NameError) uninitialized constant Chef::PolicyBuilder::Dynamic::ExpandNodeObject
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/chef/policy_builder/dynamic.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/chef/policy_builder/dynamic.rb b/lib/chef/policy_builder/dynamic.rb index 7971379d2c..3424484505 100644 --- a/lib/chef/policy_builder/dynamic.rb +++ b/lib/chef/policy_builder/dynamic.rb @@ -23,6 +23,8 @@ require_relative "../run_context" require_relative "../config" require_relative "../node" require_relative "../exceptions" +require_relative "expand_node_object" +require_relative "policefile" class Chef module PolicyBuilder |