Skip to content

Commit

Permalink
Merge pull request #16 from treydock/UPDATE_IPTABLES
Browse files Browse the repository at this point in the history
Disable GPFS GUI updating iptables
  • Loading branch information
treydock committed Apr 17, 2020
2 parents 883555c + bd87fac commit a696c94
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .fixtures.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,9 @@ fixtures:
repo: https://github.com/saz/puppet-sudo.git
logrotate:
repo: https://github.com/voxpupuli/puppet-logrotate.git
augeasproviders_core:
repo: https://github.com/hercules-team/augeasproviders_core
augeasproviders_shellvar:
repo: https://github.com/hercules-team/augeasproviders_shellvar
symlinks:
gpfs: "#{source_dir}"
7 changes: 7 additions & 0 deletions manifests/gui/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@
}

if $gpfs::gui::manage_firewall {
shellvar { 'gpfsgui-UPDATE_IPTABLES':
ensure => 'present',
target => '/etc/sysconfig/gpfsgui',
variable => 'UPDATE_IPTABLES',
value => 'false',
}

case $gpfs::gui::firewall_source {
String: {
firewall { "47443 ${gpfs::gui::firewall_source}:47443":
Expand Down
4 changes: 4 additions & 0 deletions metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
{
"name": "saz/sudo",
"version_requirement": ">= 4.2.0 <7.0.0"
},
{
"name": "herculesteam/augeasproviders_shellvar",
"version_requirement": ">= 3.0.0 <4.0.0"
}
],
"operatingsystem_support": [
Expand Down

0 comments on commit a696c94

Please sign in to comment.