Merge pull request #771 from domcleal/ticket/3442-extension-tests

(MODULES-3442) Use empty array for missing resource relationships
This commit is contained in:
Henrik Lindberg 2016-06-04 00:50:31 +02:00
commit 4791011cea

View file

@ -15,7 +15,7 @@ define postgresql::server::extension (
'present': {
$command = "CREATE EXTENSION \"${extension}\""
$unless_comp = '='
$package_require = undef
$package_require = []
$package_before = Postgresql_psql["Add ${extension} extension to ${database}"]
}
@ -23,7 +23,7 @@ define postgresql::server::extension (
$command = "DROP EXTENSION \"${extension}\""
$unless_comp = '!='
$package_require = Postgresql_psql["Add ${extension} extension to ${database}"]
$package_before = undef
$package_before = []
}
default: {