A few minor changes to comments:

secgen_metadata.xml:20 - removed comment as not apache installation so not needed.
 java.pp:1-3 - update step removed here and example I used in #49 followed to allow for dependencies code to be used in the future.
java_service.xml:7 updated comment to reflect that the service is a java language installation
This commit is contained in:
Jjk422
2016-07-21 11:30:22 +01:00
parent c0ed9b92b5
commit 6b09463f8a
3 changed files with 5 additions and 7 deletions

View File

@@ -1,8 +1,3 @@
exec { 'update':
command => "/usr/bin/apt-get update -y",
}
class { 'java':
distribution => 'jre',
}

View File

@@ -17,7 +17,6 @@
<software_name>java</software_name>
<software_license>Apache v2</software_license>
<!--Cannot co-exist with other apache installations-->
<conflict>
<software_name>java</software_name>
</conflict>

View File

@@ -4,11 +4,15 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.github/cliffe/SecGen/scenario">
<!-- an example remote storage system, with a remotely exploitable vulnerability that can then be escalated to root -->
<!-- A secure system running java -->
<system>
<system_name>system_with_java</system_name>
<base platform="linux"/>
<!-- TODO: Dependency -->
<service module_path="modules/services/unix/update/unix_update"></service>
<!-- TODO: /Dependency -->
<service module_path="modules/services/unix/languages/java"></service>
<network type="private_network" range="dhcp"></network>