Wrap text
Report abuse
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
define site() {
search $httpdtype
vhost{$name: }
}
define nginx::vhost() {
notice("Building nginx vhost ${name}")
}
node "nephilim.ml.org" {
$httpdtype = "nginx"
site{"foo.com": }
}
|
output
1
|
notice: Scope(Nginx::Vhost[foo.com]): Building nginx vhost foo.com
|