From ac12736a80fd16c9d3512b26f7908b68b1695c17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Sun, 31 Oct 2021 01:06:53 +0200 Subject: Minor fixes. --- manifests/site.pp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'manifests/site.pp') diff --git a/manifests/site.pp b/manifests/site.pp index c3f77aa..9fb2ea5 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -61,11 +61,12 @@ node 'hornquist.se' { scan_path => '/home/git/git', clone_url => [ 'https://git.hornquist.se/$CGIT_REPO_URL', - 'git@hornquist.se:$CGIT_REPO_URL.git', + 'git@hornquist.se:git/$CGIT_REPO_URL.git', '(HTTP_only_for_public_repos)', ], } + # https://buddy.works/blog/how-deploy-projects-with-git blog { 'Hugos blog': root => "${blog_root}/hugo", } @@ -194,7 +195,7 @@ node 'hornquist.se' { ssl_cert => "/etc/letsencrypt/live/${certname}/fullchain.pem", ssl_key => "/etc/letsencrypt/live/${certname}/privkey.pem", use_default_location => true, - www_root => '/var/www/wiki/html', + www_root => '/var/www/wiki/public/html', } nginx::resource::server { 'cgit': -- cgit v1.2.3