floored1585 / quagga-cookbook

Chef cookbook for managing Quagga routing daemons
Apache License 2.0
4 stars 6 forks source link

not_if expects a string or block. #26

Closed robbat2 closed 7 years ago

robbat2 commented 7 years ago

This prevents the following error: quagga_zebra[zebra] (quagga::zebra line 8) had an error: ArgumentError: Invalid only_if/not_if command, expected a string: true (TrueClass)

Signed-off-by: Robin H. Johnson robbat2@gentoo.org

floored1585 commented 7 years ago

Was this a change in Chef 13/14?

robbat2 commented 7 years ago

No, just an error that I saw on Dokken, when zebra got included, but none of the parameters that fired it were needed.

robbat2 commented 7 years ago

See https://docs.chef.io/resource_common.html#only-if-examples for exampes