diff options
Diffstat (limited to 'personal_infra/puppet/modules/proxmox/manifests/proxy_host.pp')
| -rw-r--r-- | personal_infra/puppet/modules/proxmox/manifests/proxy_host.pp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/personal_infra/puppet/modules/proxmox/manifests/proxy_host.pp b/personal_infra/puppet/modules/proxmox/manifests/proxy_host.pp new file mode 100644 index 00000000..33b28de0 --- /dev/null +++ b/personal_infra/puppet/modules/proxmox/manifests/proxy_host.pp @@ -0,0 +1,15 @@ +define proxmox::proxy_host (String[1] $target) { + file {"/etc/apache2/sites-enabled/$title.conf": + content => @("EOT") + MDomain $title + + <VirtualHost *:443> + ServerName $title + SSLEngine on + </VirtualHost> + | EOT + , + } + ~> + Service['apache2'] +} |
