Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
Wrap text
Report abuse
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
define nginx::website(.....) { } class nginx::service{ service{"nginx":...} } class webserver { case $httptype { nginx: { include nginx } apache: { include apache} } } define website(.....) { case $httpdtype { nginx: { nginx::website{$name: .... } } } } node foo { $htpdtype = "nginx" include webserver website{"foo.com": } }
Pasted December 10, 2009 8:34AM EDT
Embed
paste again
Ads from Ruby Row