b4b5724a0b
I don't really think this needs any further explanation. Change-Id: I41378bd320c6c6fad2c981d5cc773486af075c41
28 lines
655 B
Puppet
28 lines
655 B
Puppet
# AFS Fileserver/BOS
|
|
class openstack_project::afsfs (
|
|
$cell = 'openstack.org',
|
|
$sysadmins = [],
|
|
) {
|
|
|
|
class { 'openstack_project::server':
|
|
iptables_public_udp_ports => [7000,7002,7003,7004,7005,7006,7007],
|
|
sysadmins => $sysadmins,
|
|
afs => true,
|
|
}
|
|
|
|
class { 'openafs::fileserver':
|
|
cell => $cell,
|
|
dbservers => [
|
|
{
|
|
name => 'afsdb01.openstack.org',
|
|
ip => '104.130.136.20',
|
|
},
|
|
{
|
|
name => 'afsdb02.openstack.org',
|
|
ip => '23.253.200.228',
|
|
},
|
|
],
|
|
require => Class['Openstack_project::Server'],
|
|
}
|
|
}
|