move things from modules/roles/static* to modules/static*
[mirror/dsa-puppet.git] / modules / roles / manifests / static / base.pp
diff --git a/modules/roles/manifests/static/base.pp b/modules/roles/manifests/static/base.pp
deleted file mode 100644 (file)
index 89a0a38..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-# the base class defining things common for all three static classes (master, mirror, source)
-class roles::static::base {
-  $query = 'nodes[certname] { resources { type = "Class" and title = "Roles::Static_mirror" } }'
-  $static_mirrors = sort(puppetdb_query($query).map |$value| { $value["certname"] })
-
-  file { '/etc/static-components.conf':
-    content => template('roles/static-mirroring/static-components.conf.erb'),
-  }
-
-  file { '/usr/local/bin/staticsync-ssh-wrap':
-    source => 'puppet:///modules/roles/static-mirroring/staticsync-ssh-wrap',
-    mode   => '0555',
-  }
-
-  file { '/usr/local/bin/static-update-component':
-    source => 'puppet:///modules/roles/static-mirroring/static-update-component',
-    mode    => '0555',
-  }
-
-  file { '/etc/staticsync.conf':
-    content  => @("EOF"),
-                # This file is sourced by bash
-                # and parsed by python
-                #  - empty lines and lines starting with a # are ignored.
-                #  - other lines are key=value.  No extra spaces anywhere.  No quoting.
-                base=/srv/static.debian.org
-                masterbase=/home/staticsync/static-master/master
-                staticuser=staticsync
-                | EOF
-  }
-}