刚装好 Puppet Enterprise,然后在 /etc/puppetlabs/puppet/manifests 下建了 nodes 目录,里面是每个 node 的 definition,然后在 site.pp 里 include 'nodes/*.pp',但是配置失败,在 node 上用 puppet agent -t 看到的错误输出是:
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class nodes/*.pp for node01 at /etc/puppetlabs/puppet/manifests/site.pp:93 on node node01
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run
include 语法是不能这样用么?
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class nodes/*.pp for node01 at /etc/puppetlabs/puppet/manifests/site.pp:93 on node node01
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run
include 语法是不能这样用么?