Chef is throwing a warning when ["apt"]["unattended_upgrades"]["mail"] is set to non-nil value.
[2016-11-07T07:30:06+00:00] WARN: only_if block for apt_package[bsd-mailx] returned "singapore-paas@ragnarson.com", did you mean to run a command? If so use 'only_if "monitoring@example.com"' in your code.
Boolean value always should be use for a only_if/not_if block.
Chef is throwing a warning when ["apt"]["unattended_upgrades"]["mail"] is set to non-nil value.
Boolean value always should be use for a only_if/not_if block.
Signed-off-by: Szymon Szypulski szymon.szypulski@gmail.com