Update CHANGELOG, README, Modulefile for 2.0.0 release
This commit is contained in:
parent
a1d0ef75f0
commit
1d6ad0ce9b
4 changed files with 97 additions and 11 deletions
57
CHANGELOG.md
57
CHANGELOG.md
|
@ -1,3 +1,60 @@
|
||||||
|
2.0.0
|
||||||
|
=======
|
||||||
|
|
||||||
|
Many thanks to the following people who contributed patches to this
|
||||||
|
release:
|
||||||
|
|
||||||
|
* Adrien Thebo
|
||||||
|
* Albert Koch
|
||||||
|
* Andreas Ntaflos
|
||||||
|
* Brett Porter
|
||||||
|
* Chris Price
|
||||||
|
* dharwood
|
||||||
|
* Etienne Pelletier
|
||||||
|
* Florin Broasca
|
||||||
|
* Henrik
|
||||||
|
* Hunter Haugen
|
||||||
|
* Jari Bakken
|
||||||
|
* Jordi Boggiano
|
||||||
|
* Ken Barber
|
||||||
|
* nzakaria
|
||||||
|
* Richard Arends
|
||||||
|
* Spenser Gilliland
|
||||||
|
* stormcrow
|
||||||
|
* William Van Hevelingen
|
||||||
|
|
||||||
|
Notable features:
|
||||||
|
|
||||||
|
* Add support for versions of postgres other than the system default version
|
||||||
|
(which varies depending on OS distro). This includes optional support for
|
||||||
|
automatically managing the package repo for the "official" postgres yum/apt
|
||||||
|
repos. (Major thanks to Etienne Pelletier <epelletier@maestrodev.com> and
|
||||||
|
Ken Barber <ken@bob.sh> for their tireless efforts and patience on this
|
||||||
|
feature set!) For example usage see `tests/official-postgresql-repos.pp`.
|
||||||
|
|
||||||
|
* Add some support for Debian Wheezy and Ubuntu Quantal
|
||||||
|
|
||||||
|
* Add new `postgres_psql` type with a Ruby provider, to replace the old
|
||||||
|
exec-based `psql` type. This gives us much more flexibility around
|
||||||
|
executing SQL statements and controlling their logging / reports output.
|
||||||
|
|
||||||
|
* Major refactor of the "spec" tests--which are actually more like
|
||||||
|
acceptance tests. We now support testing against multiple OS distros
|
||||||
|
via vagrant, and the framework is in place to allow us to very easily add
|
||||||
|
more distros. Currently testing against Cent6 and Ubuntu 10.04.
|
||||||
|
|
||||||
|
* Fixed a bug that was preventing multiple databases from being owned by the
|
||||||
|
same user
|
||||||
|
(9adcd182f820101f5e4891b9f2ff6278dfad495c - Etienne Pelletier <epelletier@maestrodev.com>)
|
||||||
|
|
||||||
|
* Add support for ACLs for finer-grained control of user/interface access
|
||||||
|
(b8389d19ad78b4fb66024897097b4ed7db241930 - dharwood <harwoodd@cat.pdx.edu>)
|
||||||
|
|
||||||
|
* Many other bug fixes and improvements!
|
||||||
|
|
||||||
|
|
||||||
|
1.0.0
|
||||||
|
=======
|
||||||
2012-09-17 - Version 0.3.0 released
|
2012-09-17 - Version 0.3.0 released
|
||||||
|
|
||||||
2012-09-14 - Chris Price <chris@puppetlabs.com>
|
2012-09-14 - Chris Price <chris@puppetlabs.com>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name 'puppetlabs-postgresql'
|
name 'puppetlabs-postgresql'
|
||||||
version '1.0.0'
|
version '2.0.0'
|
||||||
source 'git://github.com/puppetlabs/puppet-postgresql.git'
|
source 'git://github.com/puppetlabs/puppet-postgresql.git'
|
||||||
author 'Inkling/Puppet Labs'
|
author 'Inkling/Puppet Labs'
|
||||||
description 'PostgreSQL defined resource types'
|
description 'PostgreSQL defined resource types'
|
||||||
|
@ -9,4 +9,4 @@ project_page 'https://github.com/puppetlabs/puppet-postgresql/issues'
|
||||||
|
|
||||||
dependency 'puppetlabs/stdlib', '>=3.2.0 <4.0.0'
|
dependency 'puppetlabs/stdlib', '>=3.2.0 <4.0.0'
|
||||||
dependency 'puppetlabs/firewall', '>= 0.0.4'
|
dependency 'puppetlabs/firewall', '>= 0.0.4'
|
||||||
dependency 'puppetlabs/apt', '>= 1.1.0'
|
dependency 'puppetlabs/apt', '>=1.1.0 <2.0.0'
|
||||||
|
|
37
README.md
37
README.md
|
@ -10,13 +10,16 @@ Previously: https://github.com/inkling/puppet-postgresql
|
||||||
Puppet module for PostgreSQL resources
|
Puppet module for PostgreSQL resources
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
This module provides the following defined resource types for managing postgres:
|
This module provides the following classes and types for managing postgres:
|
||||||
|
|
||||||
* `postgresql::initdb`
|
* `postgresql::server`
|
||||||
|
* `postgresql::client`
|
||||||
* `postgresql::db`
|
* `postgresql::db`
|
||||||
|
* `postgresql::database`
|
||||||
* `postgresql::role`
|
* `postgresql::role`
|
||||||
* `postgresql::database_user` (just for clarity; users are roles in postgres)
|
* `postgresql::database_user` (just for clarity; users are roles in postgres)
|
||||||
* `postgresql::database_grant`
|
* `postgresql::database_grant`
|
||||||
|
* `postgresql::initdb`
|
||||||
|
|
||||||
And the fallback, analogous to exec resources, only for SQL statements:
|
And the fallback, analogous to exec resources, only for SQL statements:
|
||||||
|
|
||||||
|
@ -46,6 +49,15 @@ class { 'postgresql::server':
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Simple management of a database and user:
|
||||||
|
|
||||||
|
```Puppet
|
||||||
|
postgresl::db { 'mydatabasename':
|
||||||
|
user => 'mydatabaseuser',
|
||||||
|
password => 'mypassword'
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
Manage users / roles and permissions:
|
Manage users / roles and permissions:
|
||||||
|
|
||||||
```Puppet
|
```Puppet
|
||||||
|
@ -87,6 +99,7 @@ The test suite will snapshot the VM and rollback between each test.
|
||||||
Next, take a look at the manifests used for the automated tests.
|
Next, take a look at the manifests used for the automated tests.
|
||||||
|
|
||||||
spec/
|
spec/
|
||||||
|
test_module/
|
||||||
manifests/
|
manifests/
|
||||||
test_*.pp
|
test_*.pp
|
||||||
|
|
||||||
|
@ -96,13 +109,29 @@ Contributors
|
||||||
|
|
||||||
* Andrew Moon
|
* Andrew Moon
|
||||||
* [Kenn Knowles](https://github.com/kennknowles) ([@kennknowles](https://twitter.com/KennKnowles))
|
* [Kenn Knowles](https://github.com/kennknowles) ([@kennknowles](https://twitter.com/KennKnowles))
|
||||||
|
* Adrien Thebo
|
||||||
|
* Albert Koch
|
||||||
|
* Andreas Ntaflos
|
||||||
|
* Brett Porter
|
||||||
|
* Chris Price
|
||||||
|
* dharwood
|
||||||
|
* Etienne Pelletier
|
||||||
|
* Florin Broasca
|
||||||
|
* Henrik
|
||||||
|
* Hunter Haugen
|
||||||
|
* Jari Bakken
|
||||||
|
* Jordi Boggiano
|
||||||
|
* Ken Barber
|
||||||
|
* nzakaria
|
||||||
|
* Richard Arends
|
||||||
|
* Spenser Gilliland
|
||||||
|
* stormcrow
|
||||||
|
* William Van Hevelingen
|
||||||
|
|
||||||
|
|
||||||
Copyright and License
|
Copyright and License
|
||||||
---------------------
|
---------------------
|
||||||
|
|
||||||
Copyright 2012 Inkling Systems, Inc.
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
|
|
|
@ -14,8 +14,8 @@
|
||||||
# [*user*] - username to create and grant access.
|
# [*user*] - username to create and grant access.
|
||||||
# [*password*] - user's password. may be md5-encoded, in the format returned by the "postgresql_password"
|
# [*password*] - user's password. may be md5-encoded, in the format returned by the "postgresql_password"
|
||||||
# function in this module
|
# function in this module
|
||||||
# [*charset*] - database charset.
|
# [*charset*] - database charset. defaults to 'utf8'
|
||||||
# [*grant*] - privilege to grant user.
|
# [*grant*] - privilege to grant user. defaults to 'all'.
|
||||||
#
|
#
|
||||||
# Actions:
|
# Actions:
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue