Skip to content

Commit 1d6ad0c

Browse files
committed
Update CHANGELOG, README, Modulefile for 2.0.0 release
1 parent a1d0ef7 commit 1d6ad0c

File tree

4 files changed

+97
-11
lines changed

4 files changed

+97
-11
lines changed

CHANGELOG.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,60 @@
1+
2.0.0
2+
=======
3+
4+
Many thanks to the following people who contributed patches to this
5+
release:
6+
7+
* Adrien Thebo
8+
* Albert Koch
9+
* Andreas Ntaflos
10+
* Brett Porter
11+
* Chris Price
12+
* dharwood
13+
* Etienne Pelletier
14+
* Florin Broasca
15+
* Henrik
16+
* Hunter Haugen
17+
* Jari Bakken
18+
* Jordi Boggiano
19+
* Ken Barber
20+
* nzakaria
21+
* Richard Arends
22+
* Spenser Gilliland
23+
* stormcrow
24+
* William Van Hevelingen
25+
26+
Notable features:
27+
28+
* Add support for versions of postgres other than the system default version
29+
(which varies depending on OS distro). This includes optional support for
30+
automatically managing the package repo for the "official" postgres yum/apt
31+
repos. (Major thanks to Etienne Pelletier <[email protected]> and
32+
Ken Barber <[email protected]> for their tireless efforts and patience on this
33+
feature set!) For example usage see `tests/official-postgresql-repos.pp`.
34+
35+
* Add some support for Debian Wheezy and Ubuntu Quantal
36+
37+
* Add new `postgres_psql` type with a Ruby provider, to replace the old
38+
exec-based `psql` type. This gives us much more flexibility around
39+
executing SQL statements and controlling their logging / reports output.
40+
41+
* Major refactor of the "spec" tests--which are actually more like
42+
acceptance tests. We now support testing against multiple OS distros
43+
via vagrant, and the framework is in place to allow us to very easily add
44+
more distros. Currently testing against Cent6 and Ubuntu 10.04.
45+
46+
* Fixed a bug that was preventing multiple databases from being owned by the
47+
same user
48+
(9adcd182f820101f5e4891b9f2ff6278dfad495c - Etienne Pelletier <[email protected]>)
49+
50+
* Add support for ACLs for finer-grained control of user/interface access
51+
(b8389d19ad78b4fb66024897097b4ed7db241930 - dharwood <[email protected]>)
52+
53+
* Many other bug fixes and improvements!
54+
55+
56+
1.0.0
57+
=======
158
2012-09-17 - Version 0.3.0 released
259

360
2012-09-14 - Chris Price <[email protected]>

Modulefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name 'puppetlabs-postgresql'
2-
version '1.0.0'
2+
version '2.0.0'
33
source 'git://github.com/puppetlabs/puppet-postgresql.git'
44
author 'Inkling/Puppet Labs'
55
description 'PostgreSQL defined resource types'
@@ -9,4 +9,4 @@ project_page 'https://github.com/puppetlabs/puppet-postgresql/issues'
99

1010
dependency 'puppetlabs/stdlib', '>=3.2.0 <4.0.0'
1111
dependency 'puppetlabs/firewall', '>= 0.0.4'
12-
dependency 'puppetlabs/apt', '>= 1.1.0'
12+
dependency 'puppetlabs/apt', '>=1.1.0 <2.0.0'

README.md

Lines changed: 36 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,23 @@ Transferred from Inkling
33

44
This Puppet module was originally authored by Inkling Systems. The maintainer preferred
55
that Puppet Labs take ownership of the module for future improvement and maintenance as
6-
Puppet Labs is using it in the PuppetDB module. Existing pull requests and issues were
6+
Puppet Labs is using it in the PuppetDB module. Existing pull requests and issues were
77
transferred over, please fork and continue to contribute here instead of Inkling.
88
Previously: https://github.com/inkling/puppet-postgresql
99

1010
Puppet module for PostgreSQL resources
1111
======================================
1212

13-
This module provides the following defined resource types for managing postgres:
13+
This module provides the following classes and types for managing postgres:
1414

15-
* `postgresql::initdb`
15+
* `postgresql::server`
16+
* `postgresql::client`
1617
* `postgresql::db`
18+
* `postgresql::database`
1719
* `postgresql::role`
1820
* `postgresql::database_user` (just for clarity; users are roles in postgres)
1921
* `postgresql::database_grant`
22+
* `postgresql::initdb`
2023

2124
And the fallback, analogous to exec resources, only for SQL statements:
2225

@@ -46,6 +49,15 @@ class { 'postgresql::server':
4649
}
4750
```
4851

52+
Simple management of a database and user:
53+
54+
```Puppet
55+
postgresl::db { 'mydatabasename':
56+
user => 'mydatabaseuser',
57+
password => 'mypassword'
58+
}
59+
```
60+
4961
Manage users / roles and permissions:
5062

5163
```Puppet
@@ -87,22 +99,39 @@ The test suite will snapshot the VM and rollback between each test.
8799
Next, take a look at the manifests used for the automated tests.
88100

89101
spec/
90-
manifests/
91-
test_*.pp
102+
test_module/
103+
manifests/
104+
test_*.pp
92105

93106

94107
Contributors
95108
------------
96109

97110
* Andrew Moon
98111
* [Kenn Knowles](https://github.com/kennknowles) ([@kennknowles](https://twitter.com/KennKnowles))
112+
* Adrien Thebo
113+
* Albert Koch
114+
* Andreas Ntaflos
115+
* Brett Porter
116+
* Chris Price
117+
* dharwood
118+
* Etienne Pelletier
119+
* Florin Broasca
120+
* Henrik
121+
* Hunter Haugen
122+
* Jari Bakken
123+
* Jordi Boggiano
124+
* Ken Barber
125+
* nzakaria
126+
* Richard Arends
127+
* Spenser Gilliland
128+
* stormcrow
129+
* William Van Hevelingen
99130

100131

101132
Copyright and License
102133
---------------------
103134

104-
Copyright 2012 Inkling Systems, Inc.
105-
106135
Licensed under the Apache License, Version 2.0 (the "License");
107136
you may not use this file except in compliance with the License.
108137
You may obtain a copy of the License at

manifests/db.pp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
# [*user*] - username to create and grant access.
1515
# [*password*] - user's password. may be md5-encoded, in the format returned by the "postgresql_password"
1616
# function in this module
17-
# [*charset*] - database charset.
18-
# [*grant*] - privilege to grant user.
17+
# [*charset*] - database charset. defaults to 'utf8'
18+
# [*grant*] - privilege to grant user. defaults to 'all'.
1919
#
2020
# Actions:
2121
#

0 commit comments

Comments
 (0)