system-config/modules/openstack_project/manifests/eavesdrop.pp
Clark Boylan 94a7768dc3 Pass sysadmins list into node defs.
Pass the sysadmins list into each node definition. This allows us to
retrieve the data from hiera rather than hard coding it in the puppet
manifests. Also, update test script to use bogus sysadmin data when
testing.

Change-Id: Ide3560f16bce4d66fb95cc5021fc879476e6a712
Reviewed-on: https://review.openstack.org/12512
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2012-09-10 15:58:27 +00:00

20 lines
446 B
Puppet

class openstack_project::eavesdrop (
$nickpass,
$sysadmins = []
) {
class { 'openstack_project::server':
iptables_public_tcp_ports => [80],
sysadmins => $sysadmins
}
include meetbot
meetbot::site { "openstack":
nick => "openstack",
nickpass => $nickpass,
network => "FreeNode",
server => "chat.us.freenode.net:7000",
channels => "#openstack #openstack-dev #openstack-meeting",
use_ssl => "True"
}
}