file "/opt/otrs-#{version}/Kernel/Config.pm" do
owner user
group "www-data"
- mode 0664
+ mode 0o664
content config
end
file "/opt/otrs-#{version}/Kernel/Config/GenericAgent.pm" do
owner user
group "www-data"
- mode 0664
+ mode 0o664
content generic_agent
end
file name do
owner "otrs"
group "www-data"
- mode 0664
+ mode 0o664
content IO.read(distname)
notifies :run, "execute[/opt/otrs/bin/Cron.sh]"
end
source "sudoers.erb"
owner "root"
group "root"
- mode 0440
+ mode 0o440
end
template "/etc/cron.daily/otrs-backup" do
source "backup.cron.erb"
owner "root"
group "root"
- mode 0755
+ mode 0o755
end