Skip to content

Commit e5d8c6b

Browse files
committed
Merge pull request #225 from PascalBourdier/postgresql-contrib
Update postgresql.pp with postgresql contrib package
2 parents 98821c2 + 51c1b21 commit e5d8c6b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

manifests/database/postgresql.pp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@
2222
listen_addresses => $listen_addresses,
2323
port => $database_port,
2424
}
25+
# get the pg contrib to use pg_trgm extension
26+
class { '::postgresql::server::contrib': }
27+
postgresql::server::extension { 'pg_trgm':
28+
database => $database_name,
29+
}
2530
}
2631

2732
# create the puppetdb database

0 commit comments

Comments
 (0)