Skip to content

Commit 5359259

Browse files
authored
Rename Devuan to Devuan-cd (#963)
1 parent f70428c commit 5359259

File tree

3 files changed

+10
-12
lines changed

3 files changed

+10
-12
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/sh -eu
22
/usr/local/bin/rsync-no-vanished --delete -raX \
3-
files.devuan.org::devuan /opt/mirrors/ftp/devuan
3+
files.devuan.org::devuan /opt/mirrors/ftp/devuan-cd

modules/ocf_mirrors/files/rsyncd.conf

+4-4
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ reverse lookup = no
6161
path = /opt/mirrors/ftp/debian-cd
6262
log file = /var/log/rsync/debian-cd.log
6363

64-
[devuan]
65-
comment = devuan mirror
66-
path = /opt/mirrors/ftp/devuan
67-
log file = /var/log/rsync/devuan.log
64+
[devuan-cd]
65+
comment = devuan-cd mirror
66+
path = /opt/mirrors/ftp/devuan-cd
67+
log file = /var/log/rsync/devuan-cd.log
6868

6969
[finnix]
7070
comment = finnix releases mirror
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
11
class ocf_mirrors::projects::devuan {
22
file {
3-
'/opt/mirrors/project/devuan':
3+
'/opt/mirrors/project/devuan-cd':
44
ensure => directory,
5-
source => 'puppet:///modules/ocf_mirrors/project/devuan',
5+
source => 'puppet:///modules/ocf_mirrors/project/devuan-cd',
66
owner => mirrors,
77
group => mirrors,
88
mode => '0755',
99
recurse => true;
1010
}
1111

12-
# Looks like devuan doesn't have a timestamp file, so omitted ocf_mirrors::monitoring
13-
14-
ocf_mirrors::timer { 'devuan':
15-
exec_start => '/opt/mirrors/project/devuan/sync-archive',
12+
ocf_mirrors::timer { 'devuan-cd':
13+
exec_start => '/opt/mirrors/project/devuan-cd/sync-archive',
1614
hour => '0/6',
1715
minute => '57',
18-
require => File['/opt/mirrors/project/devuan'];
16+
require => File['/opt/mirrors/project/devuan-cd'];
1917
}
2018
}

0 commit comments

Comments
 (0)