summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-10-11 02:35:57 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-10-11 02:35:57 +0200
commit2f4a0d5f6ea300211656d3791666750538520226 (patch)
treef986b7099c3f873e7fbcd3c1eba50df17f39be76
parentAdd file with public repos. (diff)
downloadcgit-2f4a0d5f6ea300211656d3791666750538520226.tar.gz
cgit-2f4a0d5f6ea300211656d3791666750538520226.tar.xz
Create directories for public repos.
-rw-r--r--manifests/init.pp3
1 files changed, 3 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 43be069..27b060b 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -87,6 +87,9 @@ class cgit (
}
}
+ file { ['/usr/local', '/usr/local/var']:
+ ensure => directory,
+ }
file { '/usr/local/var/public-repos':
ensure => file,