From d1fea2abe63fc3c1b84c285c21011a14d6ee6e39 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Mon, 15 Oct 2018 10:18:10 +0200 Subject: [PATCH] committing changes in /etc after apt run Package changes: +icingacli 2.6.1-1.stretch all +icingaweb2 2.6.1-1.stretch all +icingaweb2-common 2.6.1-1.stretch all +icingaweb2-module-monitoring 2.6.1-1.stretch all +php-htmlpurifier 4.7.0-2 all +php-icinga 2.6.1-1.stretch all --- .etckeeper | 7 +++++++ apache2/conf-available/icingaweb2.conf | 25 +++++++++++++++++++++++ apache2/conf-enabled/icingaweb2.conf | 1 + group | 1 + group- | 2 ++ gshadow | 1 + gshadow- | 2 ++ icingaweb2/modules/translation/config.ini | 4 ++++ 8 files changed, 43 insertions(+) create mode 100644 apache2/conf-available/icingaweb2.conf create mode 120000 apache2/conf-enabled/icingaweb2.conf create mode 100644 icingaweb2/modules/translation/config.ini diff --git a/.etckeeper b/.etckeeper index 7f49741..85e6be4 100755 --- a/.etckeeper +++ b/.etckeeper @@ -97,6 +97,7 @@ maybe chmod 0644 'apache2/apache2.conf' maybe chmod 0755 'apache2/conf-available' maybe chmod 0644 'apache2/conf-available/charset.conf' maybe chmod 0644 'apache2/conf-available/custom-log.conf' +maybe chmod 0644 'apache2/conf-available/icingaweb2.conf' maybe chmod 0644 'apache2/conf-available/javascript-common.conf' maybe chmod 0644 'apache2/conf-available/localized-error-pages.conf' maybe chmod 0644 'apache2/conf-available/other-vhosts-access-log.conf' @@ -899,6 +900,12 @@ maybe chmod 0644 'icinga2/zones.d/master/hosts.conf' maybe chmod 0644 'icinga2/zones.d/master/mail.conf' maybe chmod 0644 'icinga2/zones.d/master/salt.conf' maybe chmod 0644 'icinga2/zones.d/master/services.conf' +maybe chgrp 'icingaweb2' 'icingaweb2' +maybe chmod 2770 'icingaweb2' +maybe chgrp 'icingaweb2' 'icingaweb2/modules' +maybe chmod 2770 'icingaweb2/modules' +maybe chmod 0755 'icingaweb2/modules/translation' +maybe chmod 0644 'icingaweb2/modules/translation/config.ini' maybe chmod 0755 'init' maybe chmod 0755 'init.d' maybe chmod 0644 'init.d/README' diff --git a/apache2/conf-available/icingaweb2.conf b/apache2/conf-available/icingaweb2.conf new file mode 100644 index 0000000..3188180 --- /dev/null +++ b/apache2/conf-available/icingaweb2.conf @@ -0,0 +1,25 @@ +Alias /icingaweb2 "/usr/share/icingaweb2/public" + + + Options SymLinksIfOwnerMatch + AllowOverride None + + SetEnv ICINGAWEB_CONFIGDIR "/etc/icingaweb2" + + EnableSendfile Off + + + RewriteEngine on + RewriteBase /icingaweb2/ + RewriteCond %{REQUEST_FILENAME} -s [OR] + RewriteCond %{REQUEST_FILENAME} -l [OR] + RewriteCond %{REQUEST_FILENAME} -d + RewriteRule ^.*$ - [NC,L] + RewriteRule ^.*$ index.php [NC,L] + + + + DirectoryIndex error_norewrite.html + ErrorDocument 404 /error_norewrite.html + + diff --git a/apache2/conf-enabled/icingaweb2.conf b/apache2/conf-enabled/icingaweb2.conf new file mode 120000 index 0000000..a25f238 --- /dev/null +++ b/apache2/conf-enabled/icingaweb2.conf @@ -0,0 +1 @@ +../conf-available/icingaweb2.conf \ No newline at end of file diff --git a/group b/group index 02d7346..caa093a 100644 --- a/group +++ b/group @@ -57,3 +57,4 @@ postgres:x:116: messagebus:x:117: _chrony:x:118: nagios:x:119: +icingaweb2:x:120:www-data diff --git a/group- b/group- index e76dab0..ff4e782 100644 --- a/group- +++ b/group- @@ -56,3 +56,5 @@ ulog:x:115: postgres:x:116: messagebus:x:117: _chrony:x:118: +nagios:x:119: +icingaweb2:x:120: diff --git a/gshadow b/gshadow index 1134e09..4f1ce26 100644 --- a/gshadow +++ b/gshadow @@ -57,3 +57,4 @@ postgres:!:: messagebus:!:: _chrony:!:: nagios:!:: +icingaweb2:!::www-data diff --git a/gshadow- b/gshadow- index 73d529d..63c98b9 100644 --- a/gshadow- +++ b/gshadow- @@ -56,3 +56,5 @@ ulog:!:: postgres:!:: messagebus:!:: _chrony:!:: +nagios:!:: +icingaweb2:!:: diff --git a/icingaweb2/modules/translation/config.ini b/icingaweb2/modules/translation/config.ini new file mode 100644 index 0000000..5bdf37b --- /dev/null +++ b/icingaweb2/modules/translation/config.ini @@ -0,0 +1,4 @@ +[translation] +msgmerge = /usr/bin/msgmerge +xgettext = /usr/bin/xgettext +msgfmt = /usr/bin/msgfmt -- 2.39.5