@@ -3,20 +3,23 @@ Transferred from Inkling
33
44This Puppet module was originally authored by Inkling Systems. The maintainer preferred
55that 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
77transferred over, please fork and continue to contribute here instead of Inkling.
88Previously: https://github.com/inkling/puppet-postgresql
99
1010Puppet 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
2124And 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+
4961Manage users / roles and permissions:
5062
5163``` Puppet
@@ -87,22 +99,39 @@ The test suite will snapshot the VM and rollback between each test.
8799Next, 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
94107Contributors
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
101132Copyright and License
102133---------------------
103134
104- Copyright 2012 Inkling Systems, Inc.
105-
106135Licensed under the Apache License, Version 2.0 (the "License");
107136you may not use this file except in compliance with the License.
108137You may obtain a copy of the License at
0 commit comments