Allow root logins from localhost

In addition to enabling root logins with host matches in sshd config, we
need to put localhost into the key options line.

Change-Id: I09c4120f152fd69b54cad259394721d208efdb23
This commit is contained in:
Monty Taylor 2016-05-03 08:47:11 -05:00
parent 03a687ee2d
commit 75f069ee0f
No known key found for this signature in database
GPG Key ID: 3390DB68041A12F0

View File

@ -269,7 +269,7 @@ class openstack_project::template (
type => 'ssh-rsa',
key => 'AAAAB3NzaC1yc2EAAAADAQABAAABAQDSLlN41ftgxkNeUi/kATYPwMPjJdMaSbgokSb9PSkRPZE7GeNai60BCfhu+ky8h5eMe70Bpwb7mQ7GAtHGXPNU1SRBPhMuVN9EYrQbt5KSiwuiTXtQHsWyYrSKtB+XGbl2PhpMQ/TPVtFoL5usxu/MYaakVkCEbt5IbPYNg88/NKPixicJuhi0qsd+l1X1zoc1+Fn87PlwMoIgfLIktwaL8hw9mzqr+pPcDIjCFQQWnjqJVEObOcMstBT20XwKj/ymiH+6p123nnlIHilACJzXhmIZIZO+EGkNF7KyXpcBSfv9efPI+VCE2TOv/scJFdEHtDFkl2kdUBYPC0wQ92rp',
options => [
'from="puppetmaster.openstack.org"',
'from="puppetmaster.openstack.org,localhost"',
],
require => File['/root/.ssh'],
}