Merge pull request #225 from PascalBourdier/postgresql-contrib

Update postgresql.pp with postgresql contrib package
This commit is contained in:
Ken Barber 2016-05-10 15:34:30 +01:00
commit e5d8c6b4ec

View file

@ -22,6 +22,11 @@ class puppetdb::database::postgresql(
listen_addresses => $listen_addresses,
port => $database_port,
}
# get the pg contrib to use pg_trgm extension
class { '::postgresql::server::contrib': }
postgresql::server::extension { 'pg_trgm':
database => $database_name,
}
}
# create the puppetdb database