Sha256: 756915d0739dd63f42847a76296e4d4bee20e38ddd25529efbf1be1d81033969
Contents?: true
Size: 810 Bytes
Versions: 124
Compression:
Stored size: 810 Bytes
Contents
provides :buck_passer def without_deprecation_warnings(&block) old_treat_deprecation_warnings_as_errors = Chef::Config[:treat_deprecation_warnings_as_errors] Chef::Config[:treat_deprecation_warnings_as_errors] = false begin block.call ensure Chef::Config[:treat_deprecation_warnings_as_errors] = old_treat_deprecation_warnings_as_errors end end def action_pass_buck lwrp_foo :prepared_thumbs do action :prepare_thumbs # We know there will be a deprecation error here; head it off without_deprecation_warnings do provider :lwrp_thumb_twiddler end end lwrp_foo :twiddled_thumbs do action :twiddle_thumbs # We know there will be a deprecation error here; head it off without_deprecation_warnings do provider :lwrp_thumb_twiddler end end end
Version data entries
124 entries across 124 versions & 1 rubygems