]> gitweb.fluxo.info Git - puppet-reprepro.git/commitdiff
Cleanup
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 26 Jan 2013 13:08:53 +0000 (11:08 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 26 Jan 2013 13:08:53 +0000 (11:08 -0200)
manifests/purged.pp

index f5cb5d525e2fadf4b730ba43ad9f73fda152930c..fde74b3d1cb33f866f75ca028517c14fa232e63e 100644 (file)
@@ -4,9 +4,6 @@ class reprepro::purged(
   $basedir   = '/srv/reprepro'
 ) {
 
-  $reprepro_origin    = $origin
-  $reprepro_uploaders = $uploaders
-
   user { "reprepro":
     ensure => absent,
   }
@@ -20,58 +17,6 @@ class reprepro::purged(
     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'),
@@ -86,4 +31,3 @@ class reprepro::purged(
     ensure  => absent,
   }
 }
-