]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/systemd/resources/tmpfile.rb
blogs: fix build in test
[chef.git] / cookbooks / systemd / resources / tmpfile.rb
index 8eaf47316372e7b22ee3003462c2f617c927c1b2..07c39d3a9ccc62908428777f4aa6a5488831e3a4 100644 (file)
@@ -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