我正在进行单独设置,其中master和agent都安装在单个节点上。在尝试连接主人时,我收到此错误。
$ bundle exec puppet agent --test --server xxxxxxx
Warning: Unable to fetch my node definition, but the agent run will continue:
Warning: Error 400 on SERVER: Could not find terminus console for indirection node
Info: Retrieving pluginfacts
Info: Retrieving plugin
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find terminus puppetdb for indirection facts
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
我安装了puppet frm源代码(Puppet version-4.1,ruby-2.1),但在连接到服务器时我遇到了这个问题。
请找到下面的puppet.conf
# Settings in [main] are used if a more specific section doesn't set a value.
[main]
certname = puppet-vm
logdir = /var/log/puppet
rundir = /var/run/puppet
basemodulepath = /home/ppc/.puppetlabs/etc/puppet/modules
server = puppet-vm
user = puppet
group = puppet
archive_files = true
# archive_file_server = puppet.example.com
pluginsync = true
# This section is used by the Puppet master and Puppet cert applications.
[master]
certname = puppet-vm
dns_alt_names = puppet-vm,puppetmaster01,puppetmaster01.example.com,puppet,puppet.example.com
ca_name = 'Puppet CA generated on puppetmaster01.example.com at 2013-08-09 19:11:11 +0000'
# reporturl = https://localhost:443/reports/upload
node_terminus = console
reports = none
# external_nodes = /etc/puppetlabs/puppet-dashboard/external_node
ssl_client_header = SSL_CLIENT_S_DN
ssl_client_verify_header = SSL_CLIENT_VERIFY
storeconfigs_backend = puppetdb
storeconfigs = false
autosign = true
# This section is used by the Puppet agent application.
[agent]
report = true
classfile = $vardir/classes.txt
localconfig = $vardir/localconfig
graph = true
pluginsync = true
environment = production