File tree Expand file tree Collapse file tree 8 files changed +49
-36
lines changed Expand file tree Collapse file tree 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+
129##2014 -03-04 - Supported Release 3.3.3
230###Summary
331
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:
853853
854854Although patches are welcome for making it work with other OS distros, it is considered best effort.
855855
856+ ### Postgis support
857+
858+ Postgis is currently considered an unsupported feature as it doesn't work on
859+ all platforms correctly.
860+
856861### All versions of RHEL/Centos
857862
858863If 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
861866# semanage port -a -t postgresql_port_t -p tcp $customport
862867```
863868
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-
870869Development
871870------------
872871
Original file line number Diff line number Diff line change 1111 default => $path ,
1212 }
1313
14+ Exec {
15+ logoutput => ' on_failure' ,
16+ }
17+
1418 case $name {
1519 /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/: {
1620 Postgresql_conf {
Original file line number Diff line number Diff line change 11{
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" ,
210 "operatingsystem_support" : [
311 {
412 "operatingsystem" : " RedHat" ,
5159 "requirements" : [
5260 {
5361 "name" : " pe" ,
54- "version_requirement" : " 3.2.x "
62+ "version_requirement" : " >= 3.2.0 < 3.4.0 "
5563 },
5664 {
5765 "name" : " puppet" ,
5866 "version_requirement" : " 3.x"
5967 }
6068 ],
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" ,
6769 "description" : " PostgreSQL defined resource types" ,
68- "project_page" : " https://github.com/puppetlabs/puppet-postgresql" ,
6970 "dependencies" : [
7071 {
7172 "name" : " puppetlabs/stdlib" ,
Original file line number Diff line number Diff line change 77 c . include PuppetlabsSpec ::Files
88
99 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-
1610 # Store any environment variables away to be restored later
1711 @old_env = { }
1812 ENV . each_key { |k | @old_env [ k ] = ENV [ k ] }
Original file line number Diff line number Diff line change 99 conf_class = Puppet ::Type . type ( :postgresql_conf )
1010 provider = conf_class . provider ( :parsed )
1111 conffile = tmpfilename ( 'postgresql.conf' )
12- provider . any_instance . stubs ( :target ) . returns conffile
12+ provider . any_instance . stub ( :target ) . and_return conffile
1313 provider
1414 }
1515
Original file line number Diff line number Diff line change 44describe Puppet ::Type . type ( :postgresql_conf ) do
55 before do
66 @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
99 end
1010
1111 describe "namevar validation" do
You can’t perform that action at this time.
0 commit comments