[icinga-checkins] icinga.org: puppet-icinga2/master: adding specific pgsql instructions for centos5

git at icinga.org git at icinga.org
Fri Nov 14 07:13:20 CET 2014

Module: puppet-icinga2
Branch: master
Commit: b139f775a6701c8412ca16ac4c0d352d199c586f
URL:    https://git.icinga.org/?p=puppet-icinga2.git;a=commit;h=b139f775a6701c8412ca16ac4c0d352d199c586f

Author: Devon Mizelle <devon at arin.net>
Date:   Wed Nov 12 15:02:22 2014 -0500

adding specific pgsql instructions for centos5

Signed-off-by: Nick Chappell <nick at intronic.org>

Merged from: https://github.com/Icinga/puppet-icinga2/pull/41

refs#7674: https://dev.icinga.org/issues/7674


 README.md |   16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/README.md b/README.md
index 2e83d7a..e4f580f 100644
--- a/README.md
+++ b/README.md
@@ -61,6 +61,22 @@ The example below shows the [Puppet Labs Postgres module](https://github.com/pup
 For production use, you'll probably want to get the database password via a [Hiera lookup](http://docs.puppetlabs.com/hiera/1/puppet.html) so the password isn't sitting in your site manifests in plain text.
+####Note For CentOS 5
+If you are attempting to install Icinga2 server on CentOS 5 (discouraged) and would like to use PostgreSQL, you must provide a non-EOL'd version of it. If you are installing PostgreSQL for the first time, you can tell the module to manage the pgsql YUM repository like so:
+  class { 'postgresql::globals':
+    manage_package_repo => true,
+    version             => '9.3',
+  }->
+  class { 'postgresql::server': }
+CentOS 5 provides PostgreSQL 9.1 by default, which was end-of-life'd in 2010. Without having the module manage the repo, it will gladly install this crippled version for you which isn't what you want.
+**You will still need to declare a database for Icinga2 to access.**

More information about the icinga-checkins mailing list