Open Baisang opened 5 years ago
Right now we don't create directories when we create nfs exports; we should modify https://github.com/ocf/puppet/blob/master/modules/ocf_filehost/manifests/nfs_export.pp to also create the directory with 750 permissions if it does not exist in addition to modifying the exports file.
If we don't create the directory it's very easy to bring down NFS with a puppet run
maybe something like
file { ${name} path => ${name} ensure => directory mode => 0750 }
Right now we don't create directories when we create nfs exports; we should modify https://github.com/ocf/puppet/blob/master/modules/ocf_filehost/manifests/nfs_export.pp to also create the directory with 750 permissions if it does not exist in addition to modifying the exports file.
If we don't create the directory it's very easy to bring down NFS with a puppet run