fluo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [fluo-muchos] zachradtka commented on a change in pull request #328: Added support for Red Hat OS
Date Tue, 10 Mar 2020 13:54:41 GMT
zachradtka commented on a change in pull request #328: Added support for Red Hat OS
URL: https://github.com/apache/fluo-muchos/pull/328#discussion_r390329142
 
 

 ##########
 File path: ansible/roles/common/tasks/main.yml
 ##########
 @@ -39,6 +52,16 @@
   retries: 10
   delay: 15
   until: yumresult is not failed
+- name: "enable SELinux (Red Hat)"
+  block:
+    - name: "check if container-selinux is installed"
+      shell: "rpm -q --quiet container-selinux"
+      register: container_selinux_installed
+      failed_when: container_selinux_installed.rc == 2
+    - name: "install container-selinux"
+      shell: "sudo yum -y install http://mirror.centos.org/centos/7/extras/x86_64/Packages/container-selinux-2.107-1.el7_6.noarch.rpm"
 
 Review comment:
   I updated the comment. There isn't an HTTPS version of the default repo for CentOS. I could
use a mirror that supports HTTPS, but I haven't found an elegant way to find the best mirror
like the method in `get-asf-mirror.yml`. CentOS does have a status of mirrors at https://mirror-status.centos.org/
but it only lists one HTTPS mirror. I am open to suggestions if and how I should approach
this.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message