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
This commit is contained in:
14
modules/openstack_project/manifests/summit.pp
Normal file
14
modules/openstack_project/manifests/summit.pp
Normal file
@@ -0,0 +1,14 @@
|
||||
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
|
||||
Reference in New Issue
Block a user