]> Frank Brehm's Git Trees - config/ns1/etc.git/commitdiff
committing changes in /etc after apt run
authorFrank Brehm <frank@brehm-online.com>
Thu, 18 Oct 2018 20:02:06 +0000 (22:02 +0200)
committerFrank Brehm <frank@brehm-online.com>
Thu, 18 Oct 2018 20:02:06 +0000 (22:02 +0200)
Package changes:
+icinga2-ido-pgsql 2.10.1-1.stretch amd64

.etckeeper
dbconfig-common/icinga2-ido-pgsql.conf [new file with mode: 0644]
icinga2/features-available/ido-pgsql.conf [new file with mode: 0644]

index 85e6be4e59cfc4f3d6ef4ada30132ab4580b5b59..bdfc58a588946fe53689626d7143441a378cef80 100755 (executable)
@@ -427,6 +427,7 @@ maybe chmod 0755 'cruft/filters-unex'
 maybe chmod 0644 'cruft/filters-unex/etckeeper'
 maybe chmod 0755 'dbconfig-common'
 maybe chmod 0600 'dbconfig-common/config'
+maybe chmod 0600 'dbconfig-common/icinga2-ido-pgsql.conf'
 maybe chmod 0600 'dbconfig-common/phpmyadmin.conf'
 maybe chmod 0755 'dbus-1'
 maybe chmod 0755 'dbus-1/session.d'
@@ -859,6 +860,9 @@ maybe chmod 0644 'icinga2/features-available/debuglog.conf'
 maybe chmod 0644 'icinga2/features-available/elasticsearch.conf'
 maybe chmod 0644 'icinga2/features-available/gelf.conf'
 maybe chmod 0644 'icinga2/features-available/graphite.conf'
+maybe chown 'nagios' 'icinga2/features-available/ido-pgsql.conf'
+maybe chgrp 'nagios' 'icinga2/features-available/ido-pgsql.conf'
+maybe chmod 0600 'icinga2/features-available/ido-pgsql.conf'
 maybe chmod 0644 'icinga2/features-available/influxdb.conf'
 maybe chmod 0644 'icinga2/features-available/livestatus.conf'
 maybe chmod 0644 'icinga2/features-available/mainlog.conf'
diff --git a/dbconfig-common/icinga2-ido-pgsql.conf b/dbconfig-common/icinga2-ido-pgsql.conf
new file mode 100644 (file)
index 0000000..83d3d42
--- /dev/null
@@ -0,0 +1,87 @@
+# automatically generated by the maintainer scripts of icinga2-ido-pgsql
+# any changes you make will be preserved, though your comments
+# will be lost!  to change your settings you should edit this
+# file and then run "dpkg-reconfigure icinga2-ido-pgsql"
+
+# dbc_install: configure database with dbconfig-common?
+#              set to anything but "true" to opt out of assistance
+dbc_install='true'
+
+# dbc_upgrade: upgrade database with dbconfig-common?
+#              set to anything but "true" to opt out of assistance
+dbc_upgrade='true'
+
+# dbc_remove: deconfigure database with dbconfig-common?
+#             set to anything but "true" to opt out of assistance
+dbc_remove='true'
+
+# dbc_dbtype: type of underlying database to use
+#      this exists primarily to let dbconfig-common know what database
+#      type to use when a package supports multiple database types.
+#      don't change this value unless you know for certain that this
+#      package supports multiple database types
+dbc_dbtype='pgsql'
+
+# dbc_dbuser: database user
+#      the name of the user who we will use to connect to the database.
+dbc_dbuser='icinga2'
+
+# dbc_dbpass: database user password
+#      the password to use with the above username when connecting
+#      to a database, if one is required
+dbc_dbpass='aiqu3rieNoy='
+
+# dbc_dballow: allowed host to connect from
+#       only for database types that support specifying the host from
+#       which the database user is allowed to connect from
+#       this string defines for which host the dbc_dbuser is allowed
+#       to connect
+#       this value is only really used again when you reconfigure the
+#       package
+dbc_dballow='localhost'
+
+# dbc_dbserver: database host.
+#      leave unset to use localhost (or a more efficient local method
+#      if it exists).
+dbc_dbserver='localhost'
+
+# dbc_dbport: remote database port
+#      leave unset to use the default.  only applicable if you are
+#      using a remote database.
+dbc_dbport=''
+
+# dbc_dbname: name of database
+#      this is the name of your application's database.
+dbc_dbname='icinga2'
+
+# dbc_dbadmin: name of the administrative user
+#      this is the administrative user that is used to create all of the above
+#      The exception is the MySQL/MariaDB localhost case, where this value is
+#      ignored and instead is determined from /etc/mysql/debian.cnf.
+dbc_dbadmin='postgres'
+
+# dbc_basepath: base directory to hold database files
+#      leave unset to use the default.  only applicable if you are
+#      using a local (filesystem based) database.
+dbc_basepath=''
+
+##
+## postgresql specific settings.  if you don't use postgresql,
+## you can safely ignore all of these
+##
+
+# dbc_ssl: should we require ssl?
+#      set to "true" to require that connections use ssl
+dbc_ssl=''
+
+# dbc_authmethod_admin: authentication method for admin
+# dbc_authmethod_user: authentication method for dbuser
+#      see the section titled "AUTHENTICATION METHODS" in
+#      /usr/share/doc/dbconfig-common/README.pgsql for more info
+dbc_authmethod_admin='ident'
+dbc_authmethod_user='ident'
+
+##
+## end postgresql specific settings
+##
+
diff --git a/icinga2/features-available/ido-pgsql.conf b/icinga2/features-available/ido-pgsql.conf
new file mode 100644 (file)
index 0000000..6ec751c
--- /dev/null
@@ -0,0 +1,13 @@
+/**
+ * The db_ido_pgsql library implements IDO functionality
+ * for PostgreSQL.
+ */
+
+library "db_ido_pgsql"
+
+object IdoPgsqlConnection "ido-pgsql" {
+  user = "icinga2",
+  password = "aiqu3rieNoy=",
+  host = "localhost",
+  database = "icinga2"
+}