summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sitemodules/profiles/manifests/roundcube.pp32
-rw-r--r--sitemodules/roles/manifests/community.pp1
2 files changed, 33 insertions, 0 deletions
diff --git a/sitemodules/profiles/manifests/roundcube.pp b/sitemodules/profiles/manifests/roundcube.pp
new file mode 100644
index 0000000..30f52d8
--- /dev/null
+++ b/sitemodules/profiles/manifests/roundcube.pp
@@ -0,0 +1,32 @@
+# Class: profiles::roundcube
+# ==========================
+#
+# This class installs and configures the roundcube webmail system.
+#
+# Examples
+# --------
+#
+# @example
+# class roles::myhost {
+# include profiles::roundcube
+# }
+#
+# Authors
+# -------
+#
+# Jan Dittberner <jandd@cacert.org>
+#
+# Copyright
+# ---------
+#
+# Copyright 2019 Jan Dittberner
+class profiles::roundcube (
+) {
+ package { 'mariadb-server':
+ ensure => latest,
+ }
+
+ package { ['dbconfig-mysql', 'php-zip', 'php-gd', 'libapache2-mod-php', 'roundcube', 'roundcube-plugins', 'roundcube-mysql']:
+ ensure => latest,
+ }
+}
diff --git a/sitemodules/roles/manifests/community.pp b/sitemodules/roles/manifests/community.pp
index 306bd9a..ce09b26 100644
--- a/sitemodules/roles/manifests/community.pp
+++ b/sitemodules/roles/manifests/community.pp
@@ -24,4 +24,5 @@ class roles::community {
include profiles::base
include profiles::rsyslog
include profiles::icinga2_agent
+ include profiles::roundcube
}