我如何在所有节点中默认包含这个类?
从我的清单/ 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 }
node 'dobby' inherits default {.... }
将inheritance节点default所有定义。