system-config/modules/openstack_project/manifests/summit.pp
Jeremy Stanley f42290f68c Open port 80 on summit.o.o and add ttx.
* manifests/site.pp: Change the summit node to be an instance of the
new summit class rather than the more generic server class.

* modules/openstack_project/manifests/summit.pp: Add a new summit
class based on server, but open 80/tcp and realize an account for
ttx. Also explicitly list 22/tcp even though it's already included
by the server class.

* modules/openstack_project/manifests/users.pp: Add an entry for ttx
with his name and SSH public key.

Change-Id: Idc4f0f30a89da12eeb8ee770e0ba0f0a2978bf5f
Reviewed-on: https://review.openstack.org/21430
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
2013-02-08 03:12:00 +00:00

15 lines
282 B
Puppet

class openstack_project::summit (
$sysadmins = []
) {
class { 'openstack_project::server':
iptables_public_tcp_ports => [22, 80],
sysadmins => $sysadmins
}
realize (
User::Virtual::Localuser['ttx'],
)
}
# vim:sw=2:ts=2:expandtab:textwidth=79