Guest User

Untitled

a guest
May 27th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. class network::config {
  2.  
  3. $file_path = "$puppet_base/modules/$module_name/files"
  4. resolv {
  5. 'ethz':
  6. searchpath => ['d.ethz.ch', 'ethz.ch'],
  7. nameservers => ['82.130.70.6', '82.130.70.8'],
  8. }
  9.  
  10. file {
  11. '/etc/network/interfaces':
  12. owner => root,
  13. group => root,
  14. mode => 644,
  15. source => "$file_path/interfaces";
Add Comment
Please, Sign In to add comment