X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=modules%2Fdebian-org%2Fmanifests%2Finit.pp;h=c84615489a2c1339c97fc3ffa99fe5c11c2f1012;hb=654303833a502bb6355705dea4e2d8238548b6c9;hp=9c5b7f1fbd59ba5660dcdc6b08fc325b51b2479a;hpb=1bbc3b6dc3367c0e75c10549b6b7a3065f392472;p=dsa-puppet.git diff --git a/modules/debian-org/manifests/init.pp b/modules/debian-org/manifests/init.pp index 9c5b7f1f..c8461548 100644 --- a/modules/debian-org/manifests/init.pp +++ b/modules/debian-org/manifests/init.pp @@ -162,18 +162,17 @@ class debian-org { components => ['main','contrib','non-free'] } - #if ($::hostname in [ball, corelli, eysler, lucatelli, mayer, mayr, pettersson]) or - # ($::hoster and ($::hoster in [bytemark, man-da, brown])) { - # site::aptrepo { 'proposed-updates': - # url => $mirror, - # suite => "${::lsbdistcodename}-proposed-updates", - # components => ['main','contrib','non-free'] - # } - #} else { + if ($::hostname in [mips-aql-05 mipsel-aql-02]) or { + site::aptrepo { 'proposed-updates': + url => $mirror, + suite => "${::lsbdistcodename}-proposed-updates", + components => ['main','contrib','non-free'] + } + } else { site::aptrepo { 'proposed-updates': ensure => absent, } - #} + } site::aptrepo { 'debian.org': ensure => absent, @@ -362,6 +361,11 @@ class debian-org { onlyif => "test -x /bin/systemctl" } + exec { 'systemd-tmpfiles --create --exclude-prefix=/dev': + refreshonly => true, + onlyif => "test -x /bin/systemd-tmpfiles" + } + tidy { '/var/lib/puppet/clientbucket/': age => '2w', recurse => 9,