When running the chef_client resource without providing an acceptable value for the :validation_pem attribute causes the chef-client run to fail with the following error:
================================================================================
Error executing action `install` on resource 'chef_client[chef.services.com]'
================================================================================
Chef::Exceptions::ValidationFailed
----------------------------------
source is required
Cookbook Trace:
---------------
/tmp/kitchen/cache/cookbooks/chef_stack/resources/client.rb:108:in `block (2 levels) in class_from_file'
/tmp/kitchen/cache/cookbooks/chef_stack/resources/client.rb:107:in `block in class_from_file'
When running the
chef_client
resource without providing an acceptable value for the:validation_pem
attribute causes the chef-client run to fail with the following error: