We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6b70c48 + 17fb09c commit bbe0dacCopy full SHA for bbe0dac
manifests/database/postgresql.pp
@@ -59,12 +59,8 @@
59
# Only install pg_trgm extension, if database it is actually managed by the module
60
if $manage_database {
61
62
- # from postgresql version 10 onwards, this extension is no longer inside
63
- # the contrib package, but is being bundled with the postgresql package itself
64
- if versioncmp($postgres_version, '10') < 0 {
65
- # get the pg contrib to use pg_trgm extension
66
- include postgresql::server::contrib
67
- }
+ # get the pg contrib to use pg_trgm extension
+ class { '::postgresql::server::contrib': }
68
69
postgresql::server::extension { 'pg_trgm':
70
database => $database_name,
0 commit comments