Answers:
到目前为止,很少有发行版0.25发行,所以在我的具有来自EPEL回购的2.24.8的Centos5中,我必须对具有主机名wn10.example.com的工作程序节点执行以下操作:
node default {
$node_type = regsubst($hostname, '^([a-z]+).*$', '\1')
case $node_type{
wn: {include worker_node}
default: {include generic_node}
}
}