Puppet – 从pipe理目录的pipe理中排除文件
我有一对夫妇Splunk服务器,我通过puppetpipe理部分configuration。 这些都在CentOS 6盒子上。 我的定义是成立的 file{ "/opt/splunk/etc/apps": recurse => true, purge => true, force => true, source => "puppet:///modules/splunk/$hostname/apps", ensure => present, mode => 755, owner => splunk, group => splunk, notify => Service["splunk"] } 这很好,但我想排除/opt/splunk/etc/apps/myapp/local/savedsearches.conf保存的search文件被覆盖和/或自动更新包含在Puppet中的副本与版本保持本地服务器。 有没有现成的方法来做到这一点? 我查看了文档,没有看到任何东西。