cookbooks/logrotate — pull request #1 by hatless (2013-05-31 16:47:18+00:00)
Title: Fix for logrotate_app.rb. Was broken when params[:enable] == false.

only_if doesn't accept True. It wants a block, so this puts the FileTest in a block.

Without this, logrotate_app failed when params[:enable] was false, at least with Chef 10.12 and 10.16.6.