package %w[
apache2
libwww-perl
+ logrotate
]
%w[event itk prefork worker].each do |mpm|
mode "644"
end
+package "logrotate"
+
template "/etc/logrotate.d/chef" do
source "logrotate.erb"
owner "root"
fail2ban
python3-systemd
ruby-webrick
+ logrotate
]
if platform?("debian")
package %w[
openjdk-11-jre-headless
logstash
+ logrotate
]
cookbook_file "/var/lib/logstash/beats.crt" do
include_recipe "prometheus"
include_recipe "ssl"
-package "nginx"
+package %w[
+ nginx
+ logrotate
+]
template "/etc/nginx/nginx.conf" do
source "nginx.conf.erb"
zlib1g-dev
pkg-config
libyaml-dev
+ logrotate
]
keys = data_bag_item("oxidized", "keys")