Details
-
Type:
Improvement
-
Status:
Fix Committed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 10.16.0
-
Fix Version/s: 10.18.0
-
Component/s: None
-
Labels:None
Description
Would like to be able to:
log "network-change-warning" do msg "Make sure to reboot!" level :warn action :nothing end cookbook_file "/etc/network/interfaces" do notifies :write, "log[network-change-warning]", :delayed end
I currently do this with a ruby_block but would like to use the proper resource.
optional prefix for log messages like
"recipe[#{self.cookbook_name}::#{self.recipe_name}]"would also be useful