Skip to content

Commit

Permalink
Allow Apache to proxy in selinux
Browse files Browse the repository at this point in the history
  • Loading branch information
ekohl committed Oct 17, 2018
1 parent 320c796 commit 3392911
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions manifests/config/apache.pp
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,13 @@
'params' => {'retry' => '0'},
},
}

if $::foreman::selinux or (str2bool($::selinux) and $::foreman::selinux != false) {
selboolean { 'httpd_can_network_connect':
persistent => true,
value => 'on',
}
}
}

include ::apache
Expand Down

0 comments on commit 3392911

Please sign in to comment.