]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/debian-org/manifests/init.pp
Deploy initial ssh_known_hosts using puppet
[dsa-puppet.git] / modules / debian-org / manifests / init.pp
index 07d698989a7095be596cf2385d7e88b19f1f551f..bc965ae8a639a8cba74b286aeb9526dd9d4d178f 100644 (file)
@@ -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',
@@ -139,7 +146,7 @@ class debian-org {
        }
 
        if ($::hostname in [ball, corelli, eysler, lucatelli, mayer, mayr, rem, pettersson]) or
-          ($::hoster in [bytemark, man-da]) {
+          ($::hoster and ($::hoster in [bytemark, man-da, brown])) {
                site::aptrepo { 'proposed-updates':
                        url        => $mirror,
                        suite      => "${::lsbdistcodename}-proposed-updates",