mirror of
https://github.com/cliffe/SecGen.git
synced 2026-02-21 11:18:06 +00:00
WIP: Routing layer skeleton code
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
class routing_layer::apache {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
class routing_layer::config {
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
class routing_layer::init {
|
||||
class { '::routing_layer::install': }
|
||||
class { '::routing_layer::config': }
|
||||
class { '::routing_layer::apache': }
|
||||
}
|
||||
@@ -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?
|
||||
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
require routing_layer::init
|
||||
25
modules/services/unix/http/routing_layer/secgen_metadata.xml
Normal file
25
modules/services/unix/http/routing_layer/secgen_metadata.xml
Normal 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>
|
||||
@@ -90,6 +90,8 @@
|
||||
</input>
|
||||
</utility>
|
||||
|
||||
<service module_path=".*routing_layer.*"/>
|
||||
|
||||
<utility module_path=".*wazuh.*">
|
||||
<input into="component">
|
||||
<value>server</value>
|
||||
|
||||
Reference in New Issue
Block a user