Advertisement
Guest User

broken arrays

a guest
Aug 12th, 2015
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Puppet 0.37 KB | None | 0 0
  1. class myorg::researchfs_exports {
  2.  
  3. include ::stdlib
  4.  
  5. $users = []
  6. $clients = []
  7. $mountoptions = "(rw,sync,no_subtree_check)"
  8. $exportroot = "/export/research-homedirs"
  9.  
  10.  
  11. # validate variables
  12. validate_array($users)
  13. validate_array($clients)
  14.  
  15. file { '/etc/exports':
  16.   owner     => 'root',
  17.   group     => 'root',
  18.   content   => template('myorg/nfs_exports.erb')
  19.   }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement