projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a0da85
)
Setup /srv/ftp.root in security_mirror role
author
Bastian Blank
<waldi@debian.org>
Fri, 31 Mar 2017 09:19:10 +0000
(11:19 +0200)
committer
Martin Zobel-Helas
<zobel@debian.org>
Fri, 31 Mar 2017 10:09:37 +0000
(12:09 +0200)
Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
modules/roles/manifests/security_mirror.pp
patch
|
blob
|
history
diff --git
a/modules/roles/manifests/security_mirror.pp
b/modules/roles/manifests/security_mirror.pp
index
c6019a8
..
0f911e4
100644
(file)
--- 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