Added database management 58/158/4
authorJosh Farwell <jfarwell@linuxfoundation.org>
Tue, 16 Jun 2015 22:35:19 +0000 (15:35 -0700)
committerJosh Farwell <jfarwell@linuxfoundation.org>
Wed, 17 Jun 2015 15:52:41 +0000 (08:52 -0700)
commitddc6d1c4edf49c74458c46c3bda9408c68a48870
treeb8b2cc5df50abfe7953a68a9d506c3f899786070
parent34a5732fe957abc022c17bc9425acb90c384385b
Added database management

Core::config now parses the config file information for database
settings. If postgres, exports a resource for creating a postgres
database. TODO: if sqlite, it will verify that the mailman3 user can
write to the database directory. If mysql, fails, as it is not
officially supported by the project at this time.

Change-Id: Ie91cc0ff612e382967b5b3f1661bd301c5143077
Signed-off-by: Josh Farwell <jfarwell@linuxfoundation.org>
.fixtures.yml
manifests/core.pp
manifests/core/config.pp
manifests/core/config/db.pp [new file with mode: 0644]
manifests/db/postgres.pp [new file with mode: 0644]
manifests/db/sqlite.pp [new file with mode: 0644]
manifests/params.pp
spec/classes/core__config__database_spec.rb [new file with mode: 0644]
spec/classes/core__config_spec.rb
spec/classes/db__postgres_spec.rb [new file with mode: 0644]
spec/classes/db__sqlite_spec.rb [new file with mode: 0644]