Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
212 lines (174 sloc) 3.67 KB
# Array of NTP servers to use
# FIXME: (rp) move this crap to cluster config yaml file
$ntpservers = [ "0.debian.pool.ntp.org", "1.debian.pool.ntp.org", "2.debian.pool.ntp.org" ]
# In full apt format, e.g. "deb http://foo.com/ubuntu maverick main contrib"
$additional_apt_repos = []
$cluster_name="test"
class base-node {
if ($dev_mode) {
include users
}
if ($dell_server) {
include dell-node
}
include sysctl
include munin-node
include apt # additional repos only
}
class dell-node {
include omsa
}
class nova-base-node {
# include cloudkick
include base-node
include rcb-common
include nova-common
}
class nova-compute-node {
include munin-node-compute
include nova-base-node
include nova-compute
}
class nova-ha-compute-node {
include munin-node-compute
include nova-base-node
include nova-compute
include nova-network
include haproxy
}
class nova-ha-compute-vlan-node {
include munin-node-compute
include nova-base-node
include nova-compute
include nova-network
include nova-api
include openstackx
}
class empty-node {
include base-node
}
class nova-xen-ha-compute-node {
include sysctl
include apt # additional repos only
include rcb-common
include nova-common
include nova-compute
include nova-network
}
class nova-ha-infra-node-secondary {
include nova-base-node
include munin
include munin-node-infra
include munin-nova
# data services
include rabbitmq
include mysql::server
# skip database setup on the secondary node database setup
#include nova-db
# openstack services
include nova-api
include nova-scheduler
include nova-vncproxy
include glance
include dash
include keystone
include openstackx
}
class nova-ha-infra-node {
include nova-base-node
include munin
include munin-node-infra
include munin-nova
# data services
include rabbitmq
include mysql::server
# database setup
include nova-db
# openstack services
include nova-api
include nova-scheduler
include nova-vncproxy
include glance
include dash
include keystone
include openstackx
}
class nova-ha-infra-vlan-node {
include nova-base-node
include munin
include munin-node-infra
include munin-nova
# data services
include rabbitmq
include mysql::server
# database setup
include nova-db
# openstack services
include nova-api
include nova-scheduler
include nova-vncproxy
include glance
include dash
include keystone
include openstackx
}
class nova-infra-node {
include nova-base-node
include munin
include munin-node-infra
include munin-nova
# data services
include rabbitmq
include mysql::server
# database setup
include nova-db
# openstack services
include nova-api
include nova-scheduler
include nova-vncproxy
include glance
include dash
include keystone
include openstackx
include nova-network
}
# these could all be collapsed with per-host k/v pairs
class nova-infra-drbd-primary-install {
$use_ha = true
$ha_primary = true
$ha_initial_setup = true
include drbd
include nova-ha-infra-node
}
class nova-infra-drbd-secondary-install {
$use_ha = true
$ha_primary = false
$ha_initial_setup = true
include drbd
include nova-ha-infra-node
}
class nova-infra-drbd-primary {
$use_ha = true
$ha_primary = true
include drbd
include nova-ha-infra-node
}
class nova-infra-drbd-secondary {
$use_ha = true
$ha_primary = false
include drbd
include nova-ha-infra-node
}
class swift-common-node {
include base-node
include rcb-common
include swift-common
}
class swift-proxy-node {
include swift-common-node
include swift-proxy
}
class swift-storage-node {
include swift-common-node
include swift-storage
}