在傀儡节点上,如何查看资源列表?

鉴于访问由puppet企业pipe理的单个节点,我想查看puppet正在pipe理的资源列表。 我怎么做? Node OS是Ubuntu 14.04。 对PE版本2,3和2015有兴趣。

谢谢!

您可以在resources.txt文件的客户端节点上看到。
请参阅: https : //docs.puppetlabs.com/references/latest/configuration.html#resourcefile

它位于$statedir/resources.txt所以通常位于/var/lib/puppet/state/resources.txt/opt/puppetlabs/puppet/cache/state/resources.txt

只需检查正常木偶代理发射的输出添加 – noop

在输出中,您可以看到在不更改系统上的任何内容的情况下会发生的所有事情(包括资源)。