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:
parent
3d4878dc1e
commit
0bd425ffad
|
@ -81,7 +81,7 @@ class stackalytics (
|
||||||
require => File['/home/stackalytics/.ssh'],
|
require => File['/home/stackalytics/.ssh'],
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/var/lib/git':
|
file { '/opt/git':
|
||||||
ensure => directory,
|
ensure => directory,
|
||||||
owner => 'stackalytics',
|
owner => 'stackalytics',
|
||||||
group => 'stackalytics',
|
group => 'stackalytics',
|
||||||
|
@ -228,7 +228,7 @@ class stackalytics (
|
||||||
require => File['/etc/stackalytics/stackalytics.conf'],
|
require => File['/etc/stackalytics/stackalytics.conf'],
|
||||||
section => 'DEFAULT',
|
section => 'DEFAULT',
|
||||||
setting => 'sources_root',
|
setting => 'sources_root',
|
||||||
value => '/var/lib/git',
|
value => '/opt/git',
|
||||||
}
|
}
|
||||||
|
|
||||||
ini_setting { 'ssh_key_filename':
|
ini_setting { 'ssh_key_filename':
|
||||||
|
|
Loading…
Reference in New Issue