promote develop to master #6

Merged
unkinben merged 449 commits from develop into master 2024-06-01 14:48:48 +10:00
2 changed files with 6 additions and 1 deletions
Showing only changes of commit 1cf2a5a579 - Show all commits

View File

@ -1,5 +1,7 @@
# setup the autosyncer # setup the autosyncer
class profiles::reposync::autosyncer { class profiles::reposync::autosyncer (
Stdlib::Absolutepath $basepath = '/data/repos',
) {
# Ensure the autosyncer script is present and executable # Ensure the autosyncer script is present and executable
file { '/usr/local/bin/autosyncer': file { '/usr/local/bin/autosyncer':

View File

@ -88,4 +88,7 @@ for conf in /etc/reposync/conf.d/*.conf; do
# After syncing each repo, fix the repository metadata # After syncing each repo, fix the repository metadata
create_repo_metadata "${snap_path}" create_repo_metadata "${snap_path}"
# Update selinux
restorecon <%= @basepath %>
done done