X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/18e12b0e123fc3e5f344682f884feabc12da0f5a..428a89f777e40b1476e6afc63583fb19f45ff110:/cookbooks/incron/recipes/default.rb diff --git a/cookbooks/incron/recipes/default.rb b/cookbooks/incron/recipes/default.rb index 29cd2ebd4..4c785d15e 100644 --- a/cookbooks/incron/recipes/default.rb +++ b/cookbooks/incron/recipes/default.rb @@ -1,8 +1,8 @@ # -# Cookbook Name:: incron +# Cookbook:: incron # Recipe:: default # -# Copyright 2014, OpenStreetMap Foundation +# Copyright:: 2014, OpenStreetMap Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -41,7 +41,7 @@ incrontabs.each do |user, lines| file "/var/spool/incron/#{user}" do owner user group "incron" - mode 0o600 + mode "600" content lines.join("\n") end end