Advertisement
keith_shannon

Bind Params

May 20th, 2014
459
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.57 KB | None | 0 0
  1. # Class: bind::params
  2. #
  3. class bind::params {
  4.  
  5.   case $::osfamily {
  6.     'RedHat': {
  7.       $packagenameprefix = 'bind'
  8.       $servicename       = 'named'
  9.       $binduser          = 'root'
  10.       $bindgroup         = 'named'
  11.     }
  12.     'Debian': {
  13.       $packagenameprefix = 'bind9'
  14.       $servicename       = 'bind9'
  15.       $binduser          = 'bind'
  16.       $bindgroup         = 'bind'
  17.     }
  18.     default: {
  19.       $packagenameprefix = 'bind'
  20.       $servicename       = 'named'
  21.       $binduser          = 'root'
  22.       $bindgroup         = 'named'
  23.     }
  24.   }
  25.  
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement