Merge "Add a skeleton asterisk server."

This commit is contained in:
Jenkins 2013-07-18 04:58:14 +00:00 committed by Gerrit Code Review
commit a7aea1e1ea
3 changed files with 63 additions and 0 deletions

25
doc/source/asterisk.rst Normal file
View File

@ -0,0 +1,25 @@
:title: Asterisk
.. _asterisk:
Asterisk
########
A telephony server.
At a Glance
===========
:Hosts:
* http://pbx.openstack.org
:Projects:
* http://www.asterisk.org
:Bugs:
* http://bugs.launchpad.net/openstack-ci
* http://issues.asterisk.org
Overview
========
This is a CentOS 6 system that runs Asterisk, a telephony server. It is used
as a conferencing server for the OpenStack project.

View File

@ -330,6 +330,12 @@ node 'zuul-dev.openstack.org' {
}
}
node 'pbx.openstack.org' {
class { 'openstack_project::pbx':
sysadmins => hiera('sysadmins'),
}
}
# A bare machine, but with a jenkins user
node /^.*\.template\.openstack\.org$/ {
include openstack_project::slave_template

View File

@ -0,0 +1,32 @@
# Copyright 2013 Red Hat, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
#
# Class to configure asterisk on a CentOS node.
#
# == Class: openstack_project::pbx
class openstack_project::pbx (
$sysadmins = [],
) {
class { 'openstack_project::server':
sysadmins => $sysadmins,
}
class { 'selinux':
mode => 'enforcing',
}
realize (
User::Virtual::Localuser['rbryant'],
)
}