Consolidate SELinux policy into one module
- Create a single versioned SELinux policy module for GitLab similar to other policy module components. - The first iteration of the consolidated policy is opt-in if the user sets `package['selinux_policy_version'] to anything other than nil. Closes https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/7453 Closes https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8235 Changelog: changed Signed-off-by:Robert Marshall <rmarshall@gitlab.com>
Showing
- files/gitlab-config-template/gitlab.rb.template 5 additions, 0 deletionsfiles/gitlab-config-template/gitlab.rb.template
- files/gitlab-cookbooks/gitlab/recipes/selinux.rb 42 additions, 13 deletionsfiles/gitlab-cookbooks/gitlab/recipes/selinux.rb
- files/gitlab-cookbooks/package/attributes/default.rb 3 additions, 0 deletionsfiles/gitlab-cookbooks/package/attributes/default.rb
- files/gitlab-cookbooks/package/libraries/helpers/selinux_helper.rb 6 additions, 0 deletions...lab-cookbooks/package/libraries/helpers/selinux_helper.rb
- files/gitlab-selinux/gitlab.te 39 additions, 0 deletionsfiles/gitlab-selinux/gitlab.te
- spec/chef_helper.rb 9 additions, 1 deletionspec/chef_helper.rb
Loading
Please register or sign in to comment