$basedir = '/srv/reprepro'
) {
- $reprepro_origin = $origin
- $reprepro_uploaders = $uploaders
-
user { "reprepro":
ensure => absent,
}
force => true,
ensure => absent;
- "$basedir/conf":
- force => true,
- ensure => absent;
-
- "$basedir/db":
- force => true,
- ensure => absent;
-
- "$basedir/dists":
- force => true,
- ensure => absent;
-
- "$basedir/pool":
- force => true,
- ensure => absent;
-
- "$basedir/incoming":
- force => true,
- ensure => absent;
-
- "$basedir/logs":
- force => true,
- ensure => absent;
-
- "$basedir/tmp":
- force => true,
- ensure => absent;
-
- "$basedir/conf/distributions":
- force => true,
- ensure => absent;
-
- "$basedir/conf/uploaders":
- force => true,
- ensure => absent;
-
- "$basedir/conf/incoming":
- force => true,
- ensure => absent;
-
- "$basedir/index.html":
- force => true,
- ensure => absent;
-
- "$basedir/.gnupg":
- force => true,
- ensure => absent;
-
- "$basedir/.gnupg/secring.gpg":
- force => true,
- ensure => absent;
-
"/usr/local/bin/reprepro-export-key":
ensure => absent,
content => template('reprepro/reprepro-export-key.sh.erb'),
ensure => absent,
}
}
-