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, } }