Added known hosts file.

This commit is contained in:
Monty Taylor 2011-07-16 17:28:18 -04:00
parent fbfebf9d24
commit aa4c542710

View File

@ -58,6 +58,20 @@ class static_users {
require => File['jenkinssshdir'], require => File['jenkinssshdir'],
} }
file { 'jenkinsknownhosts':
name => $operatingsystem ? {
Darwin => '/Users/jenkins/.ssh/known_hosts',
solaris => '/export/home/jenkins/.ssh/known_hosts',
default => '/home/jenkins/.ssh/known_hosts',
},
owner => 'jenkins',
group => 'jenkins',
mode => 640,
content => "|1|XzfKCGSQyHk+M88ZBZnWCScejBQ=|+bzuLzUoy4250VElmrm6xjC8ZBY= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEApuXd4MHTfr1qLXWeClxTTQYZQblCA+nHvbjAjowkEd2Y4kpvntJOVewoSwa22zTbiYSmmssCuCkFHwcpnZBZN5qMWewjizav30WfeyLR5Kng5qucxmFAEkNJjCJiu194wRNKu0cD99Uk/6X/AfsWGLgmL5pa5UFk62aW+iZLUQ8=\n |1|2FERa3tAmcEXYRj4vrbpIWnJYHE=|241nOvi5SYvVsrogymSM84tEC/0= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEApuXd4MHTfr1qLXWeClxTTQYZQblCA+nHvbjAjowkEd2Y4kpvntJOVewoSwa22zTbiYSmmssCuCkFHwcpnZBZN5qMWewjizav30WfeyLR5Kng5qucxmFAEkNJjCJiu194wRNKu0cD99Uk/6X/AfsWGLgmL5pa5UFk62aW+iZLUQ8=\n",
ensure => 'present',
require => File['jenkinssshdir'],
}
file { 'jenkinsbashrc': file { 'jenkinsbashrc':
name => $operatingsystem ? { name => $operatingsystem ? {
Darwin => '/Users/jenkins/.bashrc', Darwin => '/Users/jenkins/.bashrc',