我正在嘗試使用以下命令從木偶中檢索文件:
file { '/etc/shibboleth/attribute-map.xml':
ensure => 'present',
source => file(
"puppet:///private/etc/shibboleth/attribute-map.xml",
"puppet:///public/etc/shibboleth/attribute-map.xml",
),
require => Package['shibboleth'],
notify => Service['shibd'],
}
然而,這給了我一個錯誤,表明找不到這兩份文件。在我的/etc/puppetlabs/fileserver.conf
我有以下內容:
[public]
path /etc/puppetlabs/puppet/files/common
allow *
[private]
path /etc/puppetlabs/puppet/files/%H
allow *
人們將如何調試這個?