Merge pull request 'fix: recursive restorecon for reposync' (#107) from neoloc/restorecon_repos into develop

Reviewed-on: unkinben/puppet-prod#107
This commit is contained in:
Ben Vincent 2024-02-10 13:50:35 +09:30
commit 974143c84e

View File

@ -89,6 +89,6 @@ for conf in /etc/reposync/conf.d/*.conf; do
create_repo_metadata "${snap_path}"
# Update selinux
restorecon <%= @basepath %>
restorecon -R ${snap_path}
done