X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/87daa0d823c8f92eda8190f2d9b482b3d85a7a0c..4f581378f4dfdd9cb5a357b6324985d1d53f9663:/cookbooks/systemd/resources/tmpfile.rb?ds=inline diff --git a/cookbooks/systemd/resources/tmpfile.rb b/cookbooks/systemd/resources/tmpfile.rb index 8eaf47316..07c39d3a9 100644 --- a/cookbooks/systemd/resources/tmpfile.rb +++ b/cookbooks/systemd/resources/tmpfile.rb @@ -17,6 +17,8 @@ # limitations under the License. # +unified_mode true + default_action :create property :type, String, :required => [:create] @@ -34,7 +36,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