File tree 8 files changed +49
-36
lines changed
8 files changed +49
-36
lines changed Original file line number Diff line number Diff line change
1
+ ##2014 -07-15 - Supported Release 3.4.1
2
+ ###Summary
3
+
4
+ This release merely updates metadata.json so the module can be uninstalled and
5
+ upgraded via the puppet module command.
6
+
7
+ ##2014 -04-14 - Supported Release 3.4.0
8
+ ###Summary
9
+
10
+ This feature rolls up several important features, the biggest being PostGIS
11
+ handling and allowing ` port ` to be set on postgresql::server in order to
12
+ change the port that Postgres listens on. We've added support for RHEL7
13
+ and Ubuntu 14.04, as well as allowing you to manage the service via
14
+ ` service_ensure ` finally.
15
+
16
+ ####Features
17
+ - Added ` perl_package_name ` for installing bindings.
18
+ - Added ` service_ensure ` for allowing control of services.
19
+ - Added ` postgis_version ` and postgis class for installing postgis.
20
+ - Added ` port ` for selecting the port Postgres runs on.
21
+ - Add support for RHEL7 and Ubuntu 14.04.
22
+ - Add ` default_db ` to postgresql::server::database.
23
+ - Widen the selection of unquoted parameters in postgresql_conf{}
24
+ - Require the service within postgresql::server::reload for RHEL7.
25
+ - Add ` inherit ` to postgresql::server::role.
26
+
27
+ ####Bugfixes
28
+
1
29
##2014 -03-04 - Supported Release 3.3.3
2
30
###Summary
3
31
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -853,6 +853,11 @@ Current it is only actively tested with the following operating systems:
853
853
854
854
Although patches are welcome for making it work with other OS distros, it is considered best effort.
855
855
856
+ ### Postgis support
857
+
858
+ Postgis is currently considered an unsupported feature as it doesn't work on
859
+ all platforms correctly.
860
+
856
861
### All versions of RHEL/Centos
857
862
858
863
If you have selinux enabled you must add any custom ports you use to the postgresql_port_t context. You can do this as follows:
@@ -861,12 +866,6 @@ If you have selinux enabled you must add any custom ports you use to the postgre
861
866
# semanage port -a -t postgresql_port_t -p tcp $customport
862
867
```
863
868
864
- ### RHEL7
865
-
866
- Currently the following features are unsupported:
867
-
868
- * Postgis (There is no existing postgis package for RHEL7, and it's not in EPEL7 yet.)
869
-
870
869
Development
871
870
------------
872
871
Original file line number Diff line number Diff line change 11
11
default => $path ,
12
12
}
13
13
14
+ Exec {
15
+ logoutput => ' on_failure' ,
16
+ }
17
+
14
18
case $name {
15
19
/data_directory|hba_file|ident_file|include |listen_addresses|port|max_connections|superuser_reserved_connections|unix_socket_directory|unix_socket_group|unix_socket_permissions|bonjour|bonjour_name|ssl|ssl_ciphers|shared_buffers|max_prepared_transactions|max_files_per_process|shared_preload_libraries|wal_level|wal_buffers|archive_mode|max_wal_senders|hot_standby|logging_collector|silent_mode|track_activity_query_size|autovacuum_max_workers|autovacuum_freeze_max_age|max_locks_per_transaction|max_pred_locks_per_transaction|restart_after_crash|lc_messages|lc_monetary|lc_numeric|lc_time/: {
16
20
Postgresql_conf {
Original file line number Diff line number Diff line change 1
1
{
2
+ "name" : " puppetlabs-postgresql" ,
3
+ "version" : " 3.4.1" ,
4
+ "author" : " Inkling/Puppet Labs" ,
5
+ "summary" : " PostgreSQL defined resource types" ,
6
+ "license" : " ASL 2.0" ,
7
+ "source" : " git://github.com/puppetlabs/puppet-postgresql.git" ,
8
+ "project_page" : " https://github.com/puppetlabs/puppet-postgresql" ,
9
+ "issues_url" : " https://github.com/puppetlabs/puppet-postgresql/issues" ,
2
10
"operatingsystem_support" : [
3
11
{
4
12
"operatingsystem" : " RedHat" ,
51
59
"requirements" : [
52
60
{
53
61
"name" : " pe" ,
54
- "version_requirement" : " 3.2.x "
62
+ "version_requirement" : " >= 3.2.0 < 3.4.0 "
55
63
},
56
64
{
57
65
"name" : " puppet" ,
58
66
"version_requirement" : " 3.x"
59
67
}
60
68
],
61
- "name" : " puppetlabs-postgresql" ,
62
- "version" : " 3.3.3" ,
63
- "source" : " git://github.com/puppetlabs/puppet-postgresql.git" ,
64
- "author" : " Inkling/Puppet Labs" ,
65
- "license" : " ASL 2.0" ,
66
- "summary" : " PostgreSQL defined resource types" ,
67
69
"description" : " PostgreSQL defined resource types" ,
68
- "project_page" : " https://github.com/puppetlabs/puppet-postgresql" ,
69
70
"dependencies" : [
70
71
{
71
72
"name" : " puppetlabs/stdlib" ,
Original file line number Diff line number Diff line change 7
7
c . include PuppetlabsSpec ::Files
8
8
9
9
c . before :each do
10
- # Ensure that we don't accidentally cache facts and environment
11
- # between test cases.
12
- Facter ::Util ::Loader . any_instance . stubs ( :load_all )
13
- Facter . clear
14
- Facter . clear_messages
15
-
16
10
# Store any environment variables away to be restored later
17
11
@old_env = { }
18
12
ENV . each_key { |k | @old_env [ k ] = ENV [ k ] }
Original file line number Diff line number Diff line change 9
9
conf_class = Puppet ::Type . type ( :postgresql_conf )
10
10
provider = conf_class . provider ( :parsed )
11
11
conffile = tmpfilename ( 'postgresql.conf' )
12
- provider . any_instance . stubs ( :target ) . returns conffile
12
+ provider . any_instance . stub ( :target ) . and_return conffile
13
13
provider
14
14
}
15
15
Original file line number Diff line number Diff line change 4
4
describe Puppet ::Type . type ( :postgresql_conf ) do
5
5
before do
6
6
@provider_class = described_class . provide ( :simple ) { mk_resource_methods }
7
- @provider_class . stubs ( :suitable? ) . returns true
8
- described_class . stubs ( :defaultprovider ) . returns @provider_class
7
+ @provider_class . stub ( :suitable? ) . and_return true
8
+ described_class . stub ( :defaultprovider ) . and_return @provider_class
9
9
end
10
10
11
11
describe "namevar validation" do
You can’t perform that action at this time.
0 commit comments