summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@hornquist.se>2021-10-31 01:06:53 +0200
committerHugo Hörnquist <hugo@hornquist.se>2021-10-31 01:06:53 +0200
commitac12736a80fd16c9d3512b26f7908b68b1695c17 (patch)
treebd85721eb11319325aef22269c10c9ab30798b04
parentFixes to run script. (diff)
downloadwebdav_server-ac12736a80fd16c9d3512b26f7908b68b1695c17.tar.gz
webdav_server-ac12736a80fd16c9d3512b26f7908b68b1695c17.tar.xz
Minor fixes.
-rw-r--r--manifests/site.pp5
1 files changed, 3 insertions, 2 deletions
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':