Author: madduck Language: text
Description: No description Timestamp: 2010-03-12 08:56:38 -0500
View raw paste Reply
  1. vera:/etc/puppet|master|extdata% grep debian_suite *                                           #130,4886
  2. DEFAULT:debian_suite,lenny
  3. piper.oerlikon.madduck.net.csv:debian_suite,sid
  4.  
  5.  
  6. $extlookup_datadir = "/etc/puppet/extdata"
  7. $extlookup_precedence = ["%{fqdn}", "DOMAIN_%{domain}", "DEFAULT"]
  8.  
  9.  
  10. $debian_suite = extlookup("debian_suite", "foo")
  11.  
  12.  
  13.     notify { test:
  14.         message => "$debian_suite is to be installed"
  15.     }
  16.  
  17.  
  18.  
  19. ===> returns "foo"
  20.  
View raw paste Reply