provizioning 0.9.6 → 0.9.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  module Provizioning
2
- VERSION = "0.9.6"
2
+ VERSION = "0.9.7"
3
3
  end
@@ -13,12 +13,8 @@
13
13
  # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
14
14
 
15
15
  class postgres {
16
- if $operatingsystem == 'ubuntu' and $operatingsystemrelease < '12.04' {
17
- include "postgres::$operatingsystem"
18
- $require = File['/etc/apt/sources.list.d/postgres.list']
19
- } else {
20
- $require = []
21
- }
16
+ include "postgres::$operatingsystem"
17
+ $require = File['/etc/apt/sources.list.d/postgres.list']
22
18
 
23
19
  package { [postgresql]: ensure => installed }
24
20
  package { [libpq-dev]: ensure => installed }
@@ -42,10 +38,7 @@ class postgres {
42
38
  ensure => present,
43
39
  owner => root,
44
40
  group => root,
45
- content => $operatingsystemrelease ? {
46
- '10.04' => 'deb http://ppa.launchpad.net/pitti/postgresql/ubuntu lucid main',
47
- '11.04' => 'deb http://ppa.launchpad.net/pitti/postgresql/ubuntu natty main',
48
- },
41
+ content => "deb http://ppa.launchpad.net/pitti/postgresql/ubuntu ${lsbdistcodename} main",
49
42
  require => Exec["get-postgres-apt-key"],
50
43
  }
51
44
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: provizioning
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.6
4
+ version: 0.9.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-29 00:00:00.000000000 Z
12
+ date: 2012-09-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano