From: Tom Hughes Date: Thu, 14 May 2020 18:46:52 +0000 (+0100) Subject: Add path attribute to template arguments X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/d89d53467cb2177dbccb2ff8d9ebb5861cf29343 Add path attribute to template arguments --- diff --git a/cookbooks/systemd/resources/tmpfile.rb b/cookbooks/systemd/resources/tmpfile.rb index 8eaf47316..38538e15f 100644 --- a/cookbooks/systemd/resources/tmpfile.rb +++ b/cookbooks/systemd/resources/tmpfile.rb @@ -34,7 +34,7 @@ action :create do owner "root" group "root" mode "644" - variables new_resource.to_hash + variables new_resource.to_hash.merge(:path => new_resource.path) end execute "systemd-tmpfiles" do