Smbclient utility module.

Scenario file found at '/home/user/RubymineProjects/SecGen/scenarios/simple_examples/smbclient_utility.xml'
This commit is contained in:
Jjk422
2016-09-13 12:05:08 +01:00
parent 4f53a7f770
commit eb55b69dff
4 changed files with 50 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
class smbclient::install {
package { 'smbclient':
ensure => 'installed',
}
}

View File

@@ -0,0 +1,28 @@
<?xml version="1.0"?>
<utility xmlns="http://www.github/cliffe/SecGen/utility"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.github/cliffe/SecGen/utility">
<name>Samba client</name>
<author>example42</author>
<author>Jason Keighley</author>
<module_license>Apache v2</module_license>
<description>An installation of smbclient</description>
<type>smb</type>
<platform>linux</platform>
<!--optional details-->
<software_name>smbclient</software_name>
<software_license>Apache v2</software_license>
<!--Cannot co-exist with other smbclient installations-->
<conflict>
<software_name>smbclient</software_name>
</conflict>
<requires>
<type>update</type>
</requires>
</utility>

View File

@@ -0,0 +1 @@
class { smbclient::install: }

View File

@@ -0,0 +1,16 @@
<?xml version="1.0"?>
<scenario xmlns="http://www.github/cliffe/SecGen/scenario"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.github/cliffe/SecGen/scenario">
<system>
<system_name>smbclinet_utility</system_name>
<base platform="linux"/>
<utility module_path="modules/utilities/unix/smb/smbclient"></utility>
<network type="private_network" range="dhcp"></network>
</system>
</scenario>