summaryrefslogtreecommitdiff
path: root/manifests/site.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/site.pp')
-rw-r--r--manifests/site.pp21
1 files changed, 1 insertions, 20 deletions
diff --git a/manifests/site.pp b/manifests/site.pp
index e1bda99..03e8438 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -21,8 +21,6 @@ node 'hornquist.se' {
],
}
- $certname = 'hornquist'
-
service { 'php7.4-fpm':
ensure => running,
enable => true,
@@ -46,24 +44,7 @@ node 'hornquist.se' {
| EOF
}
- ensure_packages(['python3-certbot-nginx'],
- { ensure => installed })
-
- letsencrypt::certonly { $certname:
- ensure => present,
- manage_cron => true,
- plugin => 'nginx',
- additional_args => [ '--quiet', ],
- post_hook_commands => [ 'systemctl reload nginx.service', ],
- domains => [
- 'blog.hornquist.se',
- 'blogg.hornquist.se',
- 'www.hornquist.se',
- 'hornquist.se',
- 'git.hornquist.se',
- 'wiki.hornquist.se',
- ],
- }
+ include ::profiles::letsencrypt