82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
|
# File 'manifests/server.pp', line 82
class nfs::server::nfs_v4::configure {
concat::fragment{
'root':
target => '/etc/exports',
content => "${nfs::server::nfs_v4_export_root} ${nfs::server::nfs_v4_export_root_clients}\n",
order => 02
}
file {
"${nfs::server::nfs_v4_export_root}":
ensure => directory,
}
@@nfs::client::mount::nfs_v4::root {"shared server root by ${::clientcert}":
ensure => $nfs::server::nfs_v4_root_export_ensure,
mount => $nfs::server::nfs_v4_root_export_mount,
remounts => $nfs::server::nfs_v4_root_export_remounts,
atboot => $nfs::server::nfs_v4_root_export_atboot,
options => $nfs::server::nfs_v4_root_export_options,
bindmount => $nfs::server::nfs_v4_root_export_bindmount,
tag => $nfs::server::nfs_v4_root_export_tag,
server => "${::clientcert}",
}
}
|