Guest User

Untitled

a guest
Oct 12th, 2012
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. class resolv {
  2.  
  3. file { "resolv.conf":
  4. name => "/etc/resolv.conf",
  5. owner => root,
  6. group => root,
  7. mode => 644,
  8. source => $ipaddress ? {
  9. /192.168.1.*/ => "resolv/resolv.1.168.192.conf",
  10. default => "resolv/resolv.conf"
  11. }
  12.  
  13. }
Advertisement
Add Comment
Please, Sign In to add comment