Puppet Class: rspamd::repo

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

Summary

this class manages the rspamd.com package repository

Overview

Class: rspamd::repo

This class adds a package repo to your system's package manager.

So far supported are:

Examples:

include rspamd::repo

Parameters:

  • baseurl

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

Author:

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



19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# File 'vendor_modules/rspamd/manifests/repo.pp', line 19

class rspamd::repo {
  assert_private()
  include rspamd
  if($rspamd::manage_package_repo) {
    case $::osfamily {
      'Debian': {
        class { 'rspamd::repo::apt_stable': }
      }
      default: {
        fail("Unsupported managed repository for osfamily: ${::osfamily}, operatingsystem: ${::operatingsystem},\
module ${module_name} currently only supports managing repos for osfamily Debian")
      }
    }
  }
}