PR 33: Minor changes

This commit is contained in:
thomashaw
2016-06-13 18:45:19 +01:00
parent c8ac79a6cd
commit 52f7230e16
5 changed files with 4 additions and 10 deletions

View File

@@ -8,6 +8,7 @@
<xs:restriction base="xs:string">
<xs:enumeration value="linux"/>
<xs:enumeration value="unix"/>
<xs:enumeration value="windows"/>
</xs:restriction>
</xs:simpleType>

View File

@@ -25,10 +25,5 @@ class unix_update::unix{
command => "pkg update"
}
}
# 'MacOS': {
# exec { 'update':
# command => ""
# }
# }
}
}

View File

@@ -12,7 +12,6 @@
<platform>linux</platform>
<!--optional details-->
<reference></reference>
<software_name>unix_update</software_name>
<software_license>Apache v2</software_license>

View File

@@ -9,10 +9,10 @@
<description>An update module for windows</description>
<type>update</type>
<platform>linux</platform>
<platform>windows</platform>
<!--optional details-->
<reference></reference>
<reference>https://github.com/voxpupuli/puppet-windows_autoupdate</reference>
<software_name>windows_update</software_name>
<software_license>MIT</software_license>

View File

@@ -4,14 +4,13 @@
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 -->
<!-- an example of a clean and updated linux system -->
<system>
<system_name>clean_system_with_update</system_name>
<base platform="linux"/>
<service module_path="modules/services/unix/update/unix_update"></service>
<!--<network type="private_network" range="dhcp"></network>-->
</system>
</scenario>