Skip to content
Snippets Groups Projects

Add selinux module for gitlab-shell

Merged John Long requested to merge john_long-add-selinux-module-for-gitlab-shell into master
Compare and Show latest version
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -27,7 +27,7 @@ if RedhatHelper.system_is_rhel7? || RedhatHelper.system_is_rhel8?
@@ -27,7 +27,7 @@ if RedhatHelper.system_is_rhel7? || RedhatHelper.system_is_rhel8?
not_if "getenforce | grep Disabled"
not_if "getenforce | grep Disabled"
not_if "semodule -l | grep '^#{authorized_keys_module}\\s'"
not_if "semodule -l | grep '^#{authorized_keys_module}\\s'"
end
end
gitlab_shell_module = 'gitlab-13.5.0-gitlab-shell'
gitlab_shell_module = 'gitlab-13.5.0-gitlab-shell'
execute "semodule -i /opt/gitlab/embedded/selinux/rhel/7/#{gitlab_shell_module}.pp" do
execute "semodule -i /opt/gitlab/embedded/selinux/rhel/7/#{gitlab_shell_module}.pp" do
not_if "getenforce | grep Disabled"
not_if "getenforce | grep Disabled"
Loading