WIP: Routing layer skeleton code

This commit is contained in:
ts
2019-12-03 12:51:13 +00:00
parent 441f855e26
commit ae2fe0cc80
7 changed files with 48 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
class routing_layer::apache {
}

View File

@@ -0,0 +1,2 @@
class routing_layer::config {
}

View File

@@ -0,0 +1,5 @@
class routing_layer::init {
class { '::routing_layer::install': }
class { '::routing_layer::config': }
class { '::routing_layer::apache': }
}

View File

@@ -0,0 +1,10 @@
class routing_layer::install ($install_path = '/var/www/routing_layer'){
file { $install_path:
ensure => directory,
recurse => true,
source => 'puppet:///modules/routing_layer/routing_layer',
}
## Install rails gem?
}

View File

@@ -0,0 +1 @@
require routing_layer::init

View File

@@ -0,0 +1,25 @@
<?xml version="1.0"?>
<service xmlns="http://www.github/cliffe/SecGen/service"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.github/cliffe/SecGen/service">
<name>Game Server</name>
<author>Thomas Shaw</author>
<module_license>MIT</module_license>
<description>TODO: The game server / routing layer for automated marking project.</description>
<type>http</type>
<platform>unix</platform>
<software_license>Apache v2</software_license>
<conflict>
<type>webapp</type>
</conflict>
<requires>
<type>ruby</type>
</requires>
</service>

View File

@@ -90,6 +90,8 @@
</input>
</utility>
<service module_path=".*routing_layer.*"/>
<utility module_path=".*wazuh.*">
<input into="component">
<value>server</value>