From: Peter Palfrader Date: Wed, 25 Apr 2018 19:18:30 +0000 (+0200) Subject: create /srv/alioth-archive on alioth-archive host X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=42390875ead78abe039b26f6a54679f33d448d99;p=mirror%2Fdsa-puppet.git create /srv/alioth-archive on alioth-archive host --- 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', + } }