How to use "heartbeat" cookbook

I have installed heartbeat cookbook.
On linux was successfully:

    • install version 1:3.0.5-3.2 of package heartbeat
    • apt_package[heartbeat-dev] action install[2016-06-13T20:41:59+03:00] INFO: Processing apt_package[heartbeat-dev] action install (heartbeat::default line 29)
      [2016-06-13T20:42:05+03:00] INFO: apt_package[heartbeat-dev] installed heartbeat-dev at 1:3.0.5-3.2
- install version 1:3.0.5-3.2 of package heartbeat-dev
  • service[heartbeat] action enable[2016-06-13T20:42:05+03:00] INFO: Processing service[heartbeat] action enable (heartbeat::default line 34)
    (up to date)
    [2016-06-13T20:42:05+03:00] INFO: Chef Run complete in 46.418112936 second

But on my Mac OS was not:

NoMethodError

undefined method `each’ for nil:NilClass

Cookbook Trace:

/var/chef/cache/cookbooks/heartbeat/recipes/default.rb:28:in `from_file’

28>> package_list.each do |pkg|
29: package pkg do
30: action :install
31: end
32: end

I have seen that the platforms are Debian/Ubuntu RHEL/CentOS/Scientific/Amazon/Oracle 6+.

But I do not know how to test if client sends heartbeat messages to server if I am using the same machine. I have a Mac OS as a host and an Ubuntu on a virtual machine.