Skip to content
This repository was archived by the owner on Dec 2, 2020. It is now read-only.

Commit d93a6fa

Browse files
committed
Merge pull request #38 from AGENTXDEV/postgresql-9.4
Upgrade to PostgreSQL 9.4 for OSX
2 parents 9d7211b + abffa59 commit d93a6fa

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

files/brews/postgresql.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
class Postgresql < Formula
44
homepage 'http://www.postgresql.org/'
5-
url 'http://ftp.postgresql.org/pub/source/v9.3.2/postgresql-9.3.2.tar.bz2'
6-
sha256 '700da51a71857e092f6af1c85fcd86b46d7d5cd2f2ba343cafb1f206c20232d7'
7-
version '9.3.2-boxen'
5+
url 'http://ftp.postgresql.org/pub/source/v9.4.1/postgresql-9.4.1.tar.bz2'
6+
sha256 '29ddb77c820095b8f52e5455e9c6c6c20cf979b0834ed1986a8857b84888c3a6'
7+
version '9.4.1-boxen'
88

99
option '32-bit'
1010
option 'no-perl', 'Build without Perl support'

manifests/params.pp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77

88
$bindir = "${boxen::config::homebrewdir}/bin"
99
$executable = "${bindir}/postgres"
10-
$datadir = "${boxen::config::datadir}/postgresql-9.3"
11-
$logdir = "${boxen::config::logdir}/postgresql-9.3"
10+
$datadir = "${boxen::config::datadir}/postgresql-9.4"
11+
$logdir = "${boxen::config::logdir}/postgresql-9.4"
1212
$port = 15432
1313

1414
$package = 'boxen/brews/postgresql'
15-
$version = '9.3.2-boxen'
15+
$version = '9.4.1-boxen'
1616

1717
$service = 'dev.postgresql'
1818

spec/classes/postgresql__config_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
it do
77
should include_class('boxen::config')
88

9-
%w(data/postgresql-9.3 log/postgresql-9.3).each do |d|
9+
%w(data/postgresql-9.4 log/postgresql-9.4).each do |d|
1010
should contain_file("/test/boxen/#{d}").with_ensure(:directory)
1111
end
1212

spec/classes/postgresql__service_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
it do
77
should contain_service("com.boxen.postgresql").with_ensure(:stopped)
88

9-
should contain_exec("init-postgresql-db").with_creates("/test/boxen/data/postgresql-9.3/PG_VERSION")
9+
should contain_exec("init-postgresql-db").with_creates("/test/boxen/data/postgresql-9.4/PG_VERSION")
1010
should contain_service("dev.postgresql").with_ensure(:running)
1111
should contain_exec("wait-for-postgresql").with_unless("nc -z 127.0.0.1 15432")
1212
end

0 commit comments

Comments
 (0)