decomission piu-slave-bm-a RT#7979
[mirror/dsa-puppet.git] / modules / schroot / manifests / init.pp
index 7c5e008..ee24dc2 100644 (file)
@@ -1,4 +1,6 @@
 class schroot {
+       $mirror = lookup('apt::sources::debian::location', { 'merge' => { 'strategy' => 'first'}} )
+
        package { 'schroot':
                ensure => installed,
                tag    => extra_repo,
@@ -53,7 +55,9 @@ class schroot {
                require => Package['schroot'],
        }
        file { '/etc/schroot/dsa/default-mirror':
-               content => template('schroot/default-mirror.erb'),
+               content => @("EOT"),
+                       $mirror
+                       | EOT
        }
        file { '/etc/schroot/dsa/config':
                source  => 'puppet:///modules/schroot/schroot-dsa/config',