Rsync error using dmg_package resource to install ChefDK

#1

I am trying to use the dmg_package resource to install ChefDK on a Mac, but I'm getting the following error during my kitchen converges:

       Error executing action 'install' on resource 'dmg_package[chefdk-3.9.0-1]'
       ================================================================================

       Mixlib::ShellOut::ShellCommandFailed
       ------------------------------------
       execute[rsync --force --recursive --links --perms --executability --owner --group --times '/Volumes/chefdk-3.9.0-1/chefdk-3.9.0-1.app' '/Applications'] (/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.12.9/lib/chef/resource/dmg_package.rb line 118) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '23'
       ---- Begin output of rsync --force --recursive --links --perms --executability --owner --group --times '/Volumes/chefdk-3.9.0-1/chefdk-3.9.0-1.app' '/Applications' ----
       STDOUT:
       STDERR: rsync: link_stat "/Volumes/chefdk-3.9.0-1/chefdk-3.9.0-1.app" failed: No such file or directory (2)

I'm using the following resource call in a recipe:

dmg_package 'chefdk-3.9.0-1' do
  source 'https://packages.chef.io/files/stable/chefdk/3.9.0/mac_os_x/10.14/chefdk-3.9.0-1.dmg'
  # checksum '47c3c8cb73487a9097a6a7373bdde30acacc81408bd5201858ed7fbd8e718a72'
  action :install
end

It appears to be taking the package name to be the name of the resulting *.app file, which doesn't exist in the /Volumes/chefdk-3.9.0-1/ directory.

I figure I'm using this wrong; can anyone see where?

Thanks.