mirror of
https://github.com/cliffe/SecGen.git
synced 2026-02-21 11:18:06 +00:00
Merge pull request #49 from cliffe/firewall_remove_update
Firewall merge small changes to demonstrate scenario creation pre-dependencies. Working and tested. No errors stand out in the code
This commit is contained in:
@@ -1,10 +1,3 @@
|
||||
######################################################
|
||||
##### Update - REMOVED WHEN DEPENDENCY CODE DONE #####
|
||||
######################################################
|
||||
exec { 'update':
|
||||
command => '/usr/bin/apt-get update',
|
||||
}
|
||||
|
||||
######################################################
|
||||
##### Purge all existing firewall rules (if any) #####
|
||||
######################################################
|
||||
|
||||
@@ -25,9 +25,6 @@
|
||||
<software_license>Apache v2</software_license>
|
||||
|
||||
<!--Cannot co-exist with other iptables installations-->
|
||||
<conflict>
|
||||
<software_name></software_name>
|
||||
</conflict>
|
||||
|
||||
</service>
|
||||
|
||||
|
||||
@@ -9,8 +9,10 @@
|
||||
<system_name>firewall_configuration_example</system_name>
|
||||
<base platform="linux"/>
|
||||
|
||||
<!--<service module_path="modules/services/unix/update/unix_update"></service>-->
|
||||
<!--<service module_path="modules/services/unix/firewall/iptables_config"></service>-->
|
||||
<!--TODO: Dependency-->
|
||||
<service module_path="modules/services/unix/update/unix_update"></service>
|
||||
<!--TODO: /Dependency-->
|
||||
|
||||
<service module_path="modules/services/unix/firewall/firewall"></service>
|
||||
|
||||
<network type="private_network" range="dhcp"></network>
|
||||
|
||||
Reference in New Issue
Block a user