fix: certbot selinux and rsync

- fix rsync to use 755 permissions
- add rsync selinux booleans
This commit is contained in:
2024-07-08 23:17:38 +10:00
parent 899e2cbf49
commit d9a2966ffd
2 changed files with 13 additions and 3 deletions
+12
View File
@@ -17,6 +17,18 @@ class certbot::selinux (
persistent => true,
value => 'on',
}
selboolean { 'rsync_client':
persistent => true,
value => 'on',
}
selboolean { 'rsync_export_all_ro':
persistent => true,
value => 'on',
}
selboolean { 'rsync_full_access':
persistent => true,
value => 'on',
}
exec { "restorecon_${data_root}/pub":
path => ['/bin', '/usr/bin', '/sbin', '/usr/sbin'],