Move afs servers to using o_p::template

This is part of a multi-stage process to merge o_p::server and
o_p::template.

Change-Id: I3bd3242a26fe701741a7784ae4e10e4183be17cf
This commit is contained in:
Spencer Krum 2015-05-06 15:43:27 -07:00
parent ac0c30f828
commit e8c4b397ce
2 changed files with 5 additions and 3 deletions

View File

@ -715,10 +715,11 @@ node 'kdc02.openstack.org' {
node /^afsdb.*\.openstack\.org$/ {
$group = "afsdb"
class { 'openstack_project::server':
class { 'openstack_project::template':
iptables_public_udp_ports => [7000,7002,7003,7004,7005,7006,7007],
sysadmins => hiera('sysadmins', []),
afs => true,
manage_exim => true,
}
include openstack_project::afsdb
@ -728,10 +729,11 @@ node /^afsdb.*\.openstack\.org$/ {
node /^afs.*\..*\.openstack\.org$/ {
$group = "afs"
class { 'openstack_project::server':
class { 'openstack_project::template':
iptables_public_udp_ports => [7000,7002,7003,7004,7005,7006,7007],
sysadmins => hiera('sysadmins', []),
afs => true,
manage_exim => true,
}
include openstack_project::afsfs

View File

@ -15,6 +15,6 @@ class openstack_project::afsfs (
ip => '23.253.200.228',
},
],
require => Class['Openstack_project::Server'],
require => Class['Openstack_project::Template'],
}
}