From: Jan Dittberner Date: Thu, 15 Aug 2019 07:29:45 +0000 (+0200) Subject: Add profile for roundcube and use it for community X-Git-Url: https://git.cacert.org/gitweb/?p=cacert-puppet.git;a=commitdiff_plain;h=9b0fe2ed7edcaf6b191163c5c85ab9c2fd2ef986 Add profile for roundcube and use it for community --- 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 +# +# 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 }