Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class myorg::researchfs_exports {
- include ::stdlib
- $users = []
- $clients = []
- $mountoptions = "(rw,sync,no_subtree_check)"
- $exportroot = "/export/research-homedirs"
- # validate variables
- validate_array($users)
- validate_array($clients)
- file { '/etc/exports':
- owner => 'root',
- group => 'root',
- content => template('myorg/nfs_exports.erb')
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement