infra::additional_classes:
- infra::profile::typo3
- infra::profile::mysql_server
+ - infra::profile::logrotate
- solr
- java
- /var/solr-typo3/typo3cores/german/conf/general_schema_types.xml
- /var/solr-typo3/typo3cores/german/conf/german-common-nouns.txt
- /var/solr-typo3/typo3cores/german/conf/_schema_analysis_stopwords_german.json
+
+infra::profile::logrotate::rules:
+ httpd:
+ path:
+ - '/var/log/httpd/*log'
+ rotate: 30
+ rotate_every: 'day'
+ missingok: true
+ ifempty: false
+ sharedscripts: true
+ delaycompress: true
+ minsize: '4M'
+ postrotate: '/bin/systemctl reload httpd.service > /dev/null 2>/dev/null || true'
group: apache
thomas.bussmeyer:
apply: true
- sudo: true
+ sudo: true
sudo::configs:
becomeApache:
- infra::profile::mysql_server
- infra::profile::wordpress
- infra::profile::drupal
+ - infra::profile::logrotate
repo::remi_php70: true
apache::default_vhost: false
- '%%{ich-trickse}{HTTP_HOST} !^www\.reichsfinanzministerium-geschichte\.de [NC]'
rewrite_rule:
- '^(.*)$ http://www.reichsfinanzministerium-geschichte.de$1 [L,R=301]'
+
+infra::profile::logrotate::rules:
+ httpd:
+ path:
+ - '/var/log/httpd/*log'
+ rotate: 30
+ rotate_every: 'day'
+ missingok: true
+ ifempty: false
+ sharedscripts: true
+ delaycompress: true
+ minsize: '4M'
+ postrotate: '/bin/systemctl reload httpd.service > /dev/null 2>/dev/null || true'