From 911aab3238805c11b80e0cb28f0c464720e57084 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Tue, 2 Aug 2011 14:22:39 -0700 Subject: [PATCH] Added tarmac launchpad authentication info. Change-Id: I8684ba22b582a115e93acad7fe780a1973b49492 --- modules/jenkins_slave/files/authentication.conf | 5 +++++ modules/jenkins_slave/files/known_hosts | 2 ++ modules/jenkins_slave/manifests/jenkinsuser.pp | 12 ++++++++++++ 3 files changed, 19 insertions(+) create mode 100644 modules/jenkins_slave/files/authentication.conf diff --git a/modules/jenkins_slave/files/authentication.conf b/modules/jenkins_slave/files/authentication.conf new file mode 100644 index 0000000000..e069dc303d --- /dev/null +++ b/modules/jenkins_slave/files/authentication.conf @@ -0,0 +1,5 @@ +[Launchpad] +host = .launchpad.net +scheme = ssh +user = hudson-openstack + diff --git a/modules/jenkins_slave/files/known_hosts b/modules/jenkins_slave/files/known_hosts index 335b9b6b5b..9563a3b068 100644 --- a/modules/jenkins_slave/files/known_hosts +++ b/modules/jenkins_slave/files/known_hosts @@ -2,3 +2,5 @@ |1|ED5cPaPlxg4p6tThq+iwQw9DWzk=|hyynBHmEAf8RTalBpTfvpX1Ijek= ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDtdLzDzG6qmejiZq5BxDqxkN71W08xuQWVZ+6784SpsXTUujKT49lNCXmH+IHijsRaigU9cVFkWErVez0Q+NtUe077c5s50zCrL7EwH5/aiwaYklHF566TO7ctOJBLLsoVOUlJGpUAjM4veG9XMz0KhTP9qYK3zqNOcPV++551bQu1rc3kR8R8C/etmP60zMhVkUAdgyPWFZbmKlrBv1SxIpvjSo5STZzSRS7DK5/D9BaWS3zOcl5Pqtv0FVjm83dmQJxMPEjFo8e0T4Gq/noxYafQse4811/Ucmxj8J5rlJchakfxJz827w3MWYR4Ku+X3QAy/deBuvzUn3z35Zwr |1|d48JkTFKcmd4eghssuYGuEWY6FQ=|/4kjP4ZiLs77IR4pXcv2XNPRfK8= ssh-rsa AAAAB3Nza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XILhLOz6pjb8=|qEULUEPyFkTeryerpNeBUI/QnhI= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEApuXd4MHTfr1qLXWeClxTTQYZQblCA+nHvbjAjowkEd2Y4kpvntJOVewoSwa22zTbiYSmmssCuCkFHwcpnZBZN5qMWewjizav30WfeyLR5Kng5qucxmFAEkNJjCJiu194wRNKu0cD99Uk/6X/AfsWGLgmL5pa5UFk62aW+iZLUQ8= diff --git a/modules/jenkins_slave/manifests/jenkinsuser.pp b/modules/jenkins_slave/manifests/jenkinsuser.pp index 75c090cbba..62a0e324cd 100644 --- a/modules/jenkins_slave/manifests/jenkinsuser.pp +++ b/modules/jenkins_slave/manifests/jenkinsuser.pp @@ -91,6 +91,18 @@ define jenkinsuser($ensure = present) { require => File['jenkinsbazaardir'], } + file { 'jenkinsbazaarauth': + name => '/home/jenkins/.bazaar/authentication.conf', + owner => 'jenkins', + group => 'jenkins', + mode => 640, + ensure => 'present', + require => File['jenkinsbazaardir'], + source => [ + "puppet:///modules/jenkins_slave/authentication.conf", + ], + } + file { 'jenkinsknownhosts': name => '/home/jenkins/.ssh/known_hosts', owner => 'jenkins',