.../manifests/threatscope.pp
include xxx
......
package {'ods-tscope-dispatcher':
ensure => 'present',
require =>[Class['base::basic'],Class['base::resolv'],Package['ods-tscope-server-dispatcher']],
# require => Package['ods-tscope-server-dispatcher'],
# require => [Class['base::basic'],Class['base::resolv']],
}
同一个resource只能有1个
require => statement,所以如上述,注释完毕,写成数组形式即可。
阅读(1727) | 评论(0) | 转发(0) |