summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBen Webber <benjamin.webber@gmail.com>2012-10-22 00:44:57 -0400
committerBen Webber <benjamin.webber@gmail.com>2012-10-22 00:44:57 -0400
commit0577755b0b353a27e1f9445ee7a1ca8c076a84a2 (patch)
tree1ecab81c78159d14addaa284481796964870f4e3 /tests
parentea01359eea3f78c037ba40ffdb8c1c556d52edf3 (diff)
Added MySQL and PostgreSQL backends. Databases need to be deployed separately.
Diffstat (limited to 'tests')
-rw-r--r--tests/database.pp9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/database.pp b/tests/database.pp
new file mode 100644
index 0000000..269be69
--- /dev/null
+++ b/tests/database.pp
@@ -0,0 +1,9 @@
+include rsyslog
+
+class { 'rsyslog::database':
+ backend => 'mysql',
+ server => 'localhost',
+ database => 'Syslog',
+ username => 'rsyslog',
+ password => 'secret',
+}