all
默认情况下,如何在所有节点中包含此类?
我的 manifests/nodes.pp 中的片段
class all {
case $operatingsystem {
debian, ubuntu: {
include hosts
include ssh
}
default: {
err("OS NOT supported")
}
}
}
node default {
include all
}
node 'dobby' {
include all ## <<
include apache
include logrotate
}
将从节点继承所有定义
default
。