X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/87daa0d823c8f92eda8190f2d9b482b3d85a7a0c..29b8151b8011f934785f3434e3826eee78e61943:/cookbooks/systemd/resources/tmpfile.rb?ds=sidebyside 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