From 42390875ead78abe039b26f6a54679f33d448d99 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 25 Apr 2018 21:18:30 +0200 Subject: [PATCH] create /srv/alioth-archive on alioth-archive host --- modules/roles/manifests/alioth_archive.pp | 24 +++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/modules/roles/manifests/alioth_archive.pp b/modules/roles/manifests/alioth_archive.pp index 69587092e..549fe0200 100644 --- a/modules/roles/manifests/alioth_archive.pp +++ b/modules/roles/manifests/alioth_archive.pp @@ -10,10 +10,22 @@ class roles::alioth_archive { # key => true, #} - #file { '/srv/XXX.debian.org': - # ensure => directory, - # mode => '2755', - # owner => XXX, - # group => XXX, - #} + file { '/srv/alioth-archive.debian.org': + ensure => directory, + mode => '2755', + owner => "alioth-archive", + group => "alioth-archive", + } + + file { '/srv/alioth-archive.debian.org/home': + ensure => directory, + mode => '2755', + owner => "alioth-archive", + group => "alioth-archive", + } + + file { '/home/alioth-archive': + ensure => link, + target => '/srv/alioth-archive.debian.org/home', + } } -- 2.20.1