Give time to resource to run after 15 mins?


#1

directory “/tmp/something” do
recursive true
action :delete :timer 15mins
end


#2

:timer there is not something that takes a “length of time” nor can it be applied to an action. As per the documentation here this only applies to specifically the notifies property and only controls when in the Chef run the notification is triggered with allowable values being :delayed (default, end of run), :immediate (right then), or the lesser used :before.