ClusterLabs / resource-agents

Combined repository of OCF agents from the RHCS and Linux-HA projects
GNU General Public License v2.0
489 stars 577 forks source link

nfsserver: prepare the layout for the default /var/lib/nfs #1860

Closed zzhou1 closed 1 year ago

zzhou1 commented 1 year ago

Some deployment might deploy "/var/lib/nfs" as the fresh mount point without explicitly providing "nfs_shared_infodir=" for a different place. This directory could be empty in the very beginning. In such case, we could leverage prepare_directory() to populate nfsserver information directories and files layout transparantly.

knet-ci-bot commented 1 year ago

Can one of the admins verify this patch?

oalbrigt commented 1 year ago

ok to test

oalbrigt commented 1 year ago

Thanks.