Changes from https://github.com/coderanger/chef-collectd/pull/4