prepare alioth archive puppet role
authorPeter Palfrader <peter@palfrader.org>
Tue, 24 Apr 2018 20:47:45 +0000 (22:47 +0200)
committerPeter Palfrader <peter@palfrader.org>
Tue, 24 Apr 2018 20:47:45 +0000 (22:47 +0200)
hieradata/common.yaml
modules/roles/manifests/alioth_archive.pp [new file with mode: 0644]
modules/roles/manifests/init.pp

index 1d59887..7bdbd96 100644 (file)
@@ -351,3 +351,5 @@ roles:
     - casulana.debian.org
   cdbuilder_local_mirror:
     - casulana.debian.org
+  alioth_archive:
+    - grabbe.debian.org
diff --git a/modules/roles/manifests/alioth_archive.pp b/modules/roles/manifests/alioth_archive.pp
new file mode 100644 (file)
index 0000000..76344a6
--- /dev/null
@@ -0,0 +1,18 @@
+class roles::alioth_archive {
+       include apache2::ssl
+
+       #apache2::site { 'XXX.debian.org':
+       #       content => template('roles/alioth_archive/XXX.debian.org.erb')
+       #}
+       #ssl::service { 'XXX.debian.org':
+       #       notify => Exec['service apache2 reload'],
+       #       key => true,
+       #}
+
+       #file { '/srv/XXX.debian.org':
+       #       ensure  => directory,
+       #       mode    => '2755',
+       #       owner   => XXX,
+       #       group   => XXX,
+       #}
+}
index 2c9ed9c..f930906 100644 (file)
@@ -375,4 +375,8 @@ class roles {
        if has_role('cdbuilder_local_mirror') {
                include roles::cdbuilder_local_mirror
        }
+
+       if has_role('alioth_archive') {
+               include roles::alioth_archive
+       }
 }