X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fdebian-org%2Fmanifests%2Finit.pp;h=2341b8586df61d54619f4c34ca6afa5d6109eca4;hb=a528037e14d02ad14a785c67063c30ccd47290f7;hp=a8e50bcedaf35359639b67f23cfd775bc5fcd8a2;hpb=3a8ea253416bbc3db8f4e9b8194dd2e888880745;p=mirror%2Fdsa-puppet.git diff --git a/modules/debian-org/manifests/init.pp b/modules/debian-org/manifests/init.pp index a8e50bced..2341b8586 100644 --- a/modules/debian-org/manifests/init.pp +++ b/modules/debian-org/manifests/init.pp @@ -27,6 +27,7 @@ class debian-org { 'klogd', 'sysklogd', 'rsyslog', + 'os-prober', ]: ensure => purged, } @@ -37,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', @@ -138,13 +145,18 @@ class debian-org { components => ['main','contrib','non-free'] } - if $::hostname in [ball, corelli, eysler, lucatelli, mayer, mayr, rem] { + #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': - url => $mirror, - suite => "${::lsbdistcodename}-proposed-updates", - components => ['main','contrib','non-free'] + ensure => absent, } - } + #} site::aptrepo { 'debian.org': ensure => absent,