]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/systemd/resources/tmpfile.rb
Add path attribute to template arguments
[chef.git] / cookbooks / systemd / resources / tmpfile.rb
index 8eaf47316372e7b22ee3003462c2f617c927c1b2..38538e15f22bd0aaace63faa7fd48a56eb85f964 100644 (file)
@@ -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