From: Bastian Blank Date: Fri, 31 Mar 2017 09:19:10 +0000 (+0200) Subject: Setup /srv/ftp.root in security_mirror role X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=40dcb1f4717e1b0330b561083a4cefa2bbcbf8af;p=mirror%2Fdsa-puppet.git Setup /srv/ftp.root in security_mirror role Signed-off-by: Martin Zobel-Helas --- diff --git a/modules/roles/manifests/security_mirror.pp b/modules/roles/manifests/security_mirror.pp index c6019a868..0f911e42a 100644 --- a/modules/roles/manifests/security_mirror.pp +++ b/modules/roles/manifests/security_mirror.pp @@ -24,10 +24,19 @@ class roles::security_mirror { ensure => link, target => '../ftp.root/debian-security', } + file { '/srv/ftp.root': + ensure => directory, + } file { '/srv/ftp.root/.nobackup': ensure => present, content => '', } + file { '/srv/ftp.root/debian-security': + ensure => directory, + owner => 1176, # archvsync + group => 1176, # archvsync + mode => '0755', + } include apache2::expires include apache2::rewrite