File: 0001-Fixing-autodetected-version-for-Debian-Jessie-which-.patch

package info (click to toggle)
puppet-module-puppetlabs-postgresql 4.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 636 kB
  • ctags: 17
  • sloc: ruby: 2,163; sh: 47; makefile: 2
file content (30 lines) | stat: -rw-r--r-- 941 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From: Armin ranjbar <zoup@zoup.org>
Date: Fri, 21 Nov 2014 22:26:18 +0330
Subject: Fixing autodetected version for Debian Jessie,
 which uses postgresql 9.4

---
 manifests/globals.pp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/manifests/globals.pp b/manifests/globals.pp
index 1bbf7d5..823ad81 100644
--- a/manifests/globals.pp
+++ b/manifests/globals.pp
@@ -67,7 +67,7 @@ class postgresql::globals (
       'Debian' => $::operatingsystemrelease ? {
         /^6\./ => '8.4',
         /^(wheezy|7\.)/ => '9.1',
-        /^(jessie|8\.)/ => '9.3',
+        /^(jessie|8\.)/ => '9.4',
         default => undef,
       },
       'Ubuntu' => $::operatingsystemrelease ? {
@@ -102,6 +102,7 @@ class postgresql::globals (
     '91'    => '1.5',
     '9.2'   => '2.0',
     '9.3'   => '2.1',
+    '9.4'   => '2.1',
     default => undef,
   }
   $globals_postgis_version = pick($postgis_version, $default_postgis_version)