X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/025f7a54236d8750386bb0368aaeb36c055d2add..5fef39842bb8b48f83422b60e8baacc63106ee24:/cookbooks/otrs/recipes/default.rb?ds=sidebyside diff --git a/cookbooks/otrs/recipes/default.rb b/cookbooks/otrs/recipes/default.rb index 260623a80..e235f619c 100644 --- a/cookbooks/otrs/recipes/default.rb +++ b/cookbooks/otrs/recipes/default.rb @@ -17,9 +17,10 @@ # limitations under the License. # -include_recipe "tools" -include_recipe "postgresql" +include_recipe "accounts" include_recipe "apache" +include_recipe "postgresql" +include_recipe "tools" passwords = data_bag_item("otrs", "passwords") @@ -91,7 +92,7 @@ end file "/opt/otrs-#{version}/Kernel/Config.pm" do owner user group "www-data" - mode 0o664 + mode "664" content config end @@ -120,7 +121,7 @@ Dir.glob("/opt/otrs/var/cron/*.dist") do |distname| file name do owner "otrs" group "www-data" - mode 0o664 + mode "664" content IO.read(distname) notifies :run, "execute[/opt/otrs/bin/Cron.sh]" end @@ -140,12 +141,12 @@ template "/etc/sudoers.d/otrs" do source "sudoers.erb" owner "root" group "root" - mode 0o440 + mode "440" end template "/etc/cron.daily/otrs-backup" do source "backup.cron.erb" owner "root" group "root" - mode 0o755 + mode "755" end