Use /opt for git repos

Currently in -infra we map /opt to a 128GB virtual disk. Our root
drive is only 30GB. We do this not to fill up the root drive.

Change-Id: Ic9947fceb2473ea9e5e79169a8f0de2fb9ebcbf5
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2015-11-08 20:07:08 -05:00
parent 3d4878dc1e
commit 0bd425ffad

View File

@ -81,7 +81,7 @@ class stackalytics (
require => File['/home/stackalytics/.ssh'],
}
file { '/var/lib/git':
file { '/opt/git':
ensure => directory,
owner => 'stackalytics',
group => 'stackalytics',
@ -228,7 +228,7 @@ class stackalytics (
require => File['/etc/stackalytics/stackalytics.conf'],
section => 'DEFAULT',
setting => 'sources_root',
value => '/var/lib/git',
value => '/opt/git',
}
ini_setting { 'ssh_key_filename':