blob: b177128986175b3eaeb2fad466bdbd8485d87756 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
class reprepro::purged(
$basedir = '/srv/reprepro'
) {
user { "reprepro":
ensure => absent,
}
group { "reprepro":
ensure => absent,
}
file {
"$basedir":
force => true,
ensure => absent;
"/usr/local/bin/reprepro-export-key":
ensure => absent,
content => template('reprepro/reprepro-export-key.sh.erb'),
owner => root,
group => root,
mode => 755,
}
cron { reprepro:
command => "/usr/bin/reprepro --silent -b ${basedir} processincoming incoming",
user => reprepro,
ensure => absent,
}
}
|