我正在尝试使用以下命令从 Puppet 检索文件:
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 *
如何调试这个问题?