Set AFS cache size to 50G on mirrors
Change-Id: I2cbb453156aef28722b3c8a51bf221d8da8b7e23
This commit is contained in:
parent
d83a5cae14
commit
9130d036f5
@ -544,6 +544,7 @@ node /^mirror\..*\.openstack\.org$/ {
|
|||||||
iptables_public_tcp_ports => [22, 80],
|
iptables_public_tcp_ports => [22, 80],
|
||||||
sysadmins => hiera('sysadmins', []),
|
sysadmins => hiera('sysadmins', []),
|
||||||
afs => true,
|
afs => true,
|
||||||
|
afs_cache_size => 50000000, # 50GB
|
||||||
}
|
}
|
||||||
|
|
||||||
class { 'openstack_project::mirror':
|
class { 'openstack_project::mirror':
|
||||||
|
@ -12,6 +12,7 @@ class openstack_project::server (
|
|||||||
$ca_server = undef,
|
$ca_server = undef,
|
||||||
$enable_unbound = true,
|
$enable_unbound = true,
|
||||||
$afs = false,
|
$afs = false,
|
||||||
|
$afs_cache_size = 500000,
|
||||||
$puppetmaster_server = 'puppetmaster.openstack.org',
|
$puppetmaster_server = 'puppetmaster.openstack.org',
|
||||||
$manage_exim = true,
|
$manage_exim = true,
|
||||||
$pypi_index_url = 'https://pypi.python.org/simple',
|
$pypi_index_url = 'https://pypi.python.org/simple',
|
||||||
@ -45,6 +46,7 @@ class openstack_project::server (
|
|||||||
puppetmaster_server => $puppetmaster_server,
|
puppetmaster_server => $puppetmaster_server,
|
||||||
enable_unbound => $enable_unbound,
|
enable_unbound => $enable_unbound,
|
||||||
afs => $afs,
|
afs => $afs,
|
||||||
|
afs_cache_size => $afs_cache_size,
|
||||||
manage_exim => $manage_exim,
|
manage_exim => $manage_exim,
|
||||||
sysadmins => $sysadmins,
|
sysadmins => $sysadmins,
|
||||||
pypi_index_url => $pypi_index_url,
|
pypi_index_url => $pypi_index_url,
|
||||||
|
@ -15,6 +15,7 @@ class openstack_project::template (
|
|||||||
$ca_server = undef,
|
$ca_server = undef,
|
||||||
$enable_unbound = true,
|
$enable_unbound = true,
|
||||||
$afs = false,
|
$afs = false,
|
||||||
|
$afs_cache_size = 500000,
|
||||||
$puppetmaster_server = 'puppetmaster.openstack.org',
|
$puppetmaster_server = 'puppetmaster.openstack.org',
|
||||||
$manage_exim = false,
|
$manage_exim = false,
|
||||||
$sysadmins = [],
|
$sysadmins = [],
|
||||||
@ -62,6 +63,7 @@ class openstack_project::template (
|
|||||||
cell => 'openstack.org',
|
cell => 'openstack.org',
|
||||||
realm => 'OPENSTACK.ORG',
|
realm => 'OPENSTACK.ORG',
|
||||||
admin_server => 'kdc.openstack.org',
|
admin_server => 'kdc.openstack.org',
|
||||||
|
cache_size => $afs_cache_size,
|
||||||
kdcs => [
|
kdcs => [
|
||||||
'kdc01.openstack.org',
|
'kdc01.openstack.org',
|
||||||
'kdc02.openstack.org',
|
'kdc02.openstack.org',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user