Remove deprecation warning

There's a nasty deprecation warning when using the cookbook with Chef 11. This commit removes it.