Puppet Class: rspamd

Defined in:
vendor_modules/rspamd/manifests/init.pp

Summary

this class allows you to install and configure the Rspamd system and its services

Overview

Class: rspamd

Main entry point for the rspamd module

Examples:

include rspamd

Parameters:

  • package_ensure (String)

    specifies the ensure state of the rspamd package

  • package_manage (Boolean)

    whether to install the rspamd package

  • service_manage (Boolean)

    whether to manage the rspamd service

  • repo_baseurl (Optional[String])

    use a different repo url instead of rspamd.com upstream repo

  • manage_package_repo (Boolean)

    whether to add the upstream package repo to your system (includes rspamd::repo)

  • config_path (String)

    the path containing the rspamd config directory

  • purge_unmanaged (Boolean)

    whether local.d/override.d config files not managed by this module should be purged

  • package_name (String)
  • config (Hash)

Author:

  • Bernhard Frauendienst <puppet@nospam.obeliks.de>



21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# File 'vendor_modules/rspamd/manifests/init.pp', line 21

class rspamd (
  String $config_path,
  Boolean $manage_package_repo,
  String $package_ensure,
  Boolean $package_manage,
  String $package_name,
  Boolean $purge_unmanaged,
  Optional[String] $repo_baseurl,
  Boolean $service_manage,
  Hash $config,
) {
  contain rspamd::repo
  contain rspamd::install
  contain rspamd::configuration
  contain rspamd::service

  Class['::rspamd::repo']
  -> Class['::rspamd::install']
  -> Class['::rspamd::configuration']
  ~> Class['::rspamd::service']
}