I’m testing logic where I only do one of the windows_batch resource below, but for some reason, I see both logs. Note: I will eventually replace the {true} with a node attribute
that I set. What am I missing? windows_batch "FlexnetDB Full Installation" do only_if {true} Chef::Log.info(" *************************************************** FlexnetDB Full Installation *************************************************** ") end windows_batch "FlexnetDB Upgrade Installation" do not_if {true} Chef::Log.info("
*************************************************** FlexnetDB Upgrade Installation *************************************************** ") end |
Archive powered by MHonArc 2.6.16.