Fix placement of ssh public key

The ssh public key should be in ~/.ssh folder instead of at the root
of the user's home folder.

Change-Id: I29c8f068b8765e79439cb5f74f77618c12d6ef4a
This commit is contained in:
Khai Do 2016-11-20 22:59:40 -08:00
parent 0f8fc12999
commit 6e616dd29c
1 changed files with 1 additions and 1 deletions

View File

@ -655,7 +655,7 @@ class gerrit(
}
if $ssh_replication_rsa_pubkey_contents != '' {
file { '/home/gerrit2/id_rsa.pub':
file { '/home/gerrit2/.ssh/id_rsa.pub':
owner => 'gerrit2',
group => 'gerrit2',
mode => '0644',