diff options
author | Jan Dittberner <jandd@cacert.org> | 2018-04-02 11:58:43 +0200 |
---|---|---|
committer | Jan Dittberner <jandd@cacert.org> | 2018-04-02 11:58:43 +0200 |
commit | de7112749c9cea4bfce3812cb8462f82a74cfb6e (patch) | |
tree | 71570077e2219e3a3f8e8d978f642c3fa568b4c2 /sitemodules/roles | |
parent | 1a0e08ae287cabcb40ff64c0f7d58c6f11ca1a87 (diff) | |
download | cacert-puppet-de7112749c9cea4bfce3812cb8462f82a74cfb6e.tar.gz cacert-puppet-de7112749c9cea4bfce3812cb8462f82a74cfb6e.tar.xz cacert-puppet-de7112749c9cea4bfce3812cb8462f82a74cfb6e.zip |
Define roles for web and webstatic
Diffstat (limited to 'sitemodules/roles')
-rw-r--r-- | sitemodules/roles/manifests/translations.pp | 2 | ||||
-rw-r--r-- | sitemodules/roles/manifests/web.pp | 27 | ||||
-rw-r--r-- | sitemodules/roles/manifests/webstatic.pp | 27 |
3 files changed, 55 insertions, 1 deletions
diff --git a/sitemodules/roles/manifests/translations.pp b/sitemodules/roles/manifests/translations.pp index 5d3ff41..b716388 100644 --- a/sitemodules/roles/manifests/translations.pp +++ b/sitemodules/roles/manifests/translations.pp @@ -1,5 +1,5 @@ # Class: roles::translations -# ======================= +# ========================== # # This class defines the translations role for the Pootle translation server. # You should assign this class using hiera or via an ENC. diff --git a/sitemodules/roles/manifests/web.pp b/sitemodules/roles/manifests/web.pp new file mode 100644 index 0000000..c94e8d8 --- /dev/null +++ b/sitemodules/roles/manifests/web.pp @@ -0,0 +1,27 @@ +# Class: roles::web +# ================= +# +# This class defines the web role for the incoming web reverse proxy. You +# should assign this class using hiera or via an ENC. +# +# Examples +# -------- +# +# @example +# class { 'roles::web': } +# +# Authors +# ------- +# +# Jan Dittberner <jandd@cacert.org> +# +# Copyright +# --------- +# +# Copyright 2018 Jan Dittberner +# +class roles::web { + include profiles::base + include profiles::rsyslog + include profiles::nrpe_agent +} diff --git a/sitemodules/roles/manifests/webstatic.pp b/sitemodules/roles/manifests/webstatic.pp new file mode 100644 index 0000000..b15b04c --- /dev/null +++ b/sitemodules/roles/manifests/webstatic.pp @@ -0,0 +1,27 @@ +# Class: roles::webstatic +# ======================= +# +# This class defines the webstatic role for the static website server. You +# should assign this class using hiera or via an ENC. +# +# Examples +# -------- +# +# @example +# class { 'roles::webstatic': } +# +# Authors +# ------- +# +# Jan Dittberner <jandd@cacert.org> +# +# Copyright +# --------- +# +# Copyright 2018 Jan Dittberner +# +class roles::webstatic { + include profiles::base + include profiles::rsyslog + include profiles::nrpe_agent +} |