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:
Jjk422
2016-07-21 12:59:27 +01:00
committed by GitHub
3 changed files with 4 additions and 12 deletions

View File

@@ -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) #####
######################################################

View File

@@ -25,9 +25,6 @@
<software_license>Apache v2</software_license>
<!--Cannot co-exist with other iptables installations-->
<conflict>
<software_name></software_name>
</conflict>
</service>

View File

@@ -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>