summaryrefslogtreecommitdiff
path: root/sitemodules/profiles/manifests/static_websites.pp
blob: 0ef308bb09935f5058fef56c59d0be267724e651 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Class: profiles::static_websites
# ================================
#
# This class takes care of VirtualHost setup for static websites.
#
# Parameters
# ----------
#
# @param apache_vhosts Apache VirtualHost definitions that will be fed into
#                      apache::vhost resources from the puppetlabs/apache
#                      module
#
# Examples
# --------
#
# @example
#   class roles::myhost {
#     include profiles::icinga2_agent
#   }
#
# Authors
# -------
#
# Jan Dittberner <jandd@cacert.org>
#
# Copyright
# ---------
#
# Copyright 2019 Jan Dittberner
class profiles::static_websites (
  Hash[String, Data] $apache_vhosts = {},
) {
  include profiles::apache_common

  create_resources(apache::vhost, $apache_vhosts)
}