Add intermediate directory /srv/upload
authorJan Dittberner <jandd@cacert.org>
Thu, 1 Aug 2019 20:07:49 +0000 (22:07 +0200)
committerJan Dittberner <jandd@cacert.org>
Thu, 1 Aug 2019 20:07:49 +0000 (22:07 +0200)
sitemodules/profiles/manifests/debarchive.pp

index 8124ddf..5281c4b 100644 (file)
@@ -70,6 +70,12 @@ class profiles::debarchive (
     group  => 'nogroup',
     mode   => '0711',
   }
+  file { '/srv/upload':
+    ensure => directory,
+    owner  => 'root',
+    group  => 'root',
+    mode   => '0755',
+  }
   file { '/srv/upload/incoming':
     ensure => directory,
     owner  => 'debarchive',