diff --git a/lib/kitchen/provisioner/chef_infra.rb b/lib/kitchen/provisioner/chef_infra.rb index 9e5effe39..42210d528 100644 --- a/lib/kitchen/provisioner/chef_infra.rb +++ b/lib/kitchen/provisioner/chef_infra.rb @@ -61,7 +61,7 @@ def prepare_command timestamp = Time.now.utc.to_i.to_s message = "#{nonce}:#{timestamp}" - signature = OpenSSL::HMAC.hexdigest('SHA256', context_key, message) + signature = OpenSSL::HMAC.hexdigest("SHA256", context_key, message) file_content = "nonce:#{nonce}\ntimestamp:#{timestamp}\nsignature:#{signature}" file_location = config[:root_path] + "/#{context_key}"