Set AFS cache size to 50G on mirrors

Change-Id: I2cbb453156aef28722b3c8a51bf221d8da8b7e23
This commit is contained in:
James E. Blair 2016-01-23 19:45:59 -08:00
parent d83a5cae14
commit 9130d036f5
3 changed files with 5 additions and 0 deletions

View File

@ -544,6 +544,7 @@ node /^mirror\..*\.openstack\.org$/ {
iptables_public_tcp_ports => [22, 80],
sysadmins => hiera('sysadmins', []),
afs => true,
afs_cache_size => 50000000, # 50GB
}
class { 'openstack_project::mirror':

View File

@ -12,6 +12,7 @@ class openstack_project::server (
$ca_server = undef,
$enable_unbound = true,
$afs = false,
$afs_cache_size = 500000,
$puppetmaster_server = 'puppetmaster.openstack.org',
$manage_exim = true,
$pypi_index_url = 'https://pypi.python.org/simple',
@ -45,6 +46,7 @@ class openstack_project::server (
puppetmaster_server => $puppetmaster_server,
enable_unbound => $enable_unbound,
afs => $afs,
afs_cache_size => $afs_cache_size,
manage_exim => $manage_exim,
sysadmins => $sysadmins,
pypi_index_url => $pypi_index_url,

View File

@ -15,6 +15,7 @@ class openstack_project::template (
$ca_server = undef,
$enable_unbound = true,
$afs = false,
$afs_cache_size = 500000,
$puppetmaster_server = 'puppetmaster.openstack.org',
$manage_exim = false,
$sysadmins = [],
@ -62,6 +63,7 @@ class openstack_project::template (
cell => 'openstack.org',
realm => 'OPENSTACK.ORG',
admin_server => 'kdc.openstack.org',
cache_size => $afs_cache_size,
kdcs => [
'kdc01.openstack.org',
'kdc02.openstack.org',