X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fdebian-org%2Fmanifests%2Finit.pp;h=a64fb541987ce008b0df402a4658c475f9bf064a;hb=677f1c3d83ca68762a16d237e01715cc8434d6c7;hp=3055aa767061628c96574b707431221991f75b9a;hpb=237b069a3538abc78426fbdd3086832d7bb23032;p=mirror%2Fdsa-puppet.git diff --git a/modules/debian-org/manifests/init.pp b/modules/debian-org/manifests/init.pp index 3055aa767..a64fb5419 100644 --- a/modules/debian-org/manifests/init.pp +++ b/modules/debian-org/manifests/init.pp @@ -38,6 +38,12 @@ class debian-org { ensure => installed, tag => extra_repo, } + file { '/etc/ssh/ssh_known_hosts': + ensure => present, + replace => false, + mode => '0644', + source => 'puppet:///modules/debian-org/basic-ssh_known_hosts' + } package { [ 'apt-utils', @@ -139,18 +145,18 @@ class debian-org { components => ['main','contrib','non-free'] } - if ($::hostname in [ball, corelli, eysler, lucatelli, mayer, mayr, rem, pettersson]) or - ($::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 [ball, corelli, eysler, lucatelli, mayer, mayr, rem, 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 { site::aptrepo { 'proposed-updates': ensure => absent, } - } + #} site::aptrepo { 'debian.org': ensure => absent, @@ -158,10 +164,15 @@ class debian-org { site::aptrepo { 'db.debian.org': url => 'http://db.debian.org/debian-admin', - suite => 'lenny', + suite => 'debian-all', components => 'main', key => 'puppet:///modules/debian-org/db.debian.org.gpg', } + site::aptrepo { 'db.debian.org-suite': + url => 'http://db.debian.org/debian-admin', + suite => $::lsbdistcodename, + components => 'main', + } augeas { 'inittab_replicate': context => '/files/etc/inittab',