Update the poise and postgresql cookbooks

This commit is contained in:
Greg Karékinian
2019-04-03 15:28:06 +02:00
parent 448bffe34e
commit 374d6bc975
12 changed files with 26 additions and 14 deletions

View File

@@ -1,5 +1,10 @@
# Changelog
## v2.8.2
* Remove support for Chef before 12.14.
* Fixed compatibility with Chef 14.3.
## v2.8.1
* Fix a missing `require` when using `subclass_providers!` on Chef 12.3.

View File

@@ -14,6 +14,7 @@
# limitations under the License.
#
require 'poise'
require 'poise/error'
require 'poise/utils'

View File

@@ -217,8 +217,8 @@ module Poise
def included(klass)
super
klass.extend(ClassMethods)
klass.const_get(:HIDDEN_IVARS) << :@subcontexts
klass.const_get(:FORBIDDEN_IVARS) << :@subcontexts
klass.const_set(:HIDDEN_VARS, klass.const_get(:HIDDEN_IVARS) + [:@subcontexts])
klass.const_set(:FORBIDDEN_IVARS, klass.const_get(:FORBIDDEN_IVARS) + [:@subcontexts])
end
end

View File

@@ -16,5 +16,5 @@
module Poise
VERSION = '2.8.1'
VERSION = '2.8.2'
end

File diff suppressed because one or more lines are too long

View File

@@ -4,6 +4,10 @@ This file is used to list changes made in the last 3 major versions of the postg
## Unreleased
## v7.1.4 (28-03-2019)
- Fix installation of extensions.
## v7.1.3 (15-01-2019)
- Added support for dash in database role name.

View File

@@ -1,6 +1,8 @@
# PostgreSQL cookbook
[![CircleCI](https://circleci.com/gh/sous-chefs/postgresql/tree/master.svg?style=svg)](https://circleci.com/gh/sous-chefs/postgresql/tree/master) [![Cookbook Version](https://img.shields.io/cookbook/v/postgresql.svg)](https://supermarket.chef.io/cookbooks/postgresql) [![pullreminders](https://pullreminders.com/badge.svg)](https://pullreminders.com?ref=badge)
[![Cookbook Version](https://img.shields.io/cookbook/v/postgresql.svg)](https://supermarket.chef.io/cookbooks/postgresql)
[![Build Status](https://img.shields.io/circleci/project/github/sous-chefs/postgresql/master.svg)](https://circleci.com/gh/sous-chefs/postgresql)
[![pullreminders](https://pullreminders.com/badge.svg)](https://pullreminders.com?ref=badge)
Installs and configures PostgreSQL as a client or a server.

View File

@@ -71,7 +71,7 @@ module PostgresqlCookbook
if new_resource.version
version_result.stdout == new_resource.version
else
!version_result.stdout.nil?
!version_result.stdout.chomp.empty?
end
end

File diff suppressed because one or more lines are too long

View File

@@ -5,7 +5,7 @@ maintainer_email 'help@sous-chefs.org'
license 'Apache-2.0'
description 'Installs and configures postgresql for clients or servers'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '7.1.3'
version '7.1.4'
source_url 'https://github.com/sous-chefs/postgresql'
issues_url 'https://github.com/sous-chefs/postgresql/issues'
chef_version '>= 13.8'