Ryan Lane has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/54802


Change subject: Add ssh key and authorized_keys for nova
......................................................................

Add ssh key and authorized_keys for nova

Change-Id: I2a1e5e14560c8f00b64a7bcef5187afd17c58bf0
---
M manifests/openstack.pp
1 file changed, 12 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/02/54802/1

diff --git a/manifests/openstack.pp b/manifests/openstack.pp
index 1dc8c45..cb423e8 100644
--- a/manifests/openstack.pp
+++ b/manifests/openstack.pp
@@ -602,6 +602,18 @@
                                ensure => link,
                                target => "/etc/ssl/certs/wmf-ca.pem",
                                require => Install_certificate["${certname}"];
+                       "/var/lib/nova/.ssh":
+                               ensure => directory,
+                               mode => 0700,
+                               require => Package["nova-common"];
+                       "/var/lib/nova/.ssh/id_rsa":
+                               source => "private:///files/ssh/nova/nova.key",
+                               mode => 0600,
+                               require => File["/var/lib/nova/.ssh"];
+                       "/var/lib/nova/.ssh/authorized_keys":
+                               source => "private:///files/ssh/nova/nova.pub",
+                               mode => 0600,
+                               require => File["/var/lib/nova/.ssh"];
                        "/etc/libvirt/libvirtd.conf":
                                notify => Service["libvirt-bin"],
                                owner => "root",

-- 
To view, visit https://gerrit.wikimedia.org/r/54802
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2a1e5e14560c8f00b64a7bcef5187afd17c58bf0
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ryan Lane <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to