我在CentOS Linux 7(Core)上安装了Puppet服务器。无法使用Windows代理连接到Enterprise Puppet服务器
# /opt/puppetlabs/bin/puppetserver --version
puppetserver version: 2016.5.0.11
我在Win Server 2008 R2 Enterprise(64位)上安装了Enterprise Puppet代理。
C:\Users\Administrator>puppet --version
4.8.1
当我尝试连接到木偶服务器,我只得到了以下的输出:
C:\Windows\system32>puppet agent --test
Exiting; no certificate found and waitforcert is disabled
在服务器上,如果我检查任何未决的证书签名请求,我什么也看不到:
# puppet cert --list
我已验证我能够从我的Win代理程序框远程登录到端口8140上的Puppet服务器。
下面还显示了以本地系统用户身份运行的Puppet服务。
我的木偶服务器已经在/etc/puppetlabs/puppet/puppet.conf
[main]
certname = gc.abc.com
server = gc.abc.com
user = pe-puppet
group = pe-puppet
environment_timeout = 0
app_management = true
module_groups = base+pe_only
environmentpath = /etc/puppetlabs/code/environments
codedir = /etc/puppetlabs/code
[agent]
graph = true
[master]
node_terminus = classifier
storeconfigs = true
storeconfigs_backend = puppetdb
reports = puppetdb
certname = gc.abc.com
always_cache_features = true
以下条目在Win剂,我已经在主机文件中指定的木偶服务器名称:
xx.yy.zz.zzz puppet-server
在Win剂,我刚才也提到在C服务器名称:\ ProgramData \ PuppetLabs \木偶\等\ puppet.conf文件
[main]
server=puppet-server
autoflush=true
environment=production
任何指针?
当你从服务器运行'sudo puppet cert list'时,你会看到什么? https://docs.puppet.com/puppet/latest/man/cert.html – ferventcoder
我没有看到上述命令的任何输出。 – Technext
由于它没有工作,所以我想到尝试企业设置。但是,这个问题仍然存在。我想只有从客户端实例访问端口8140是连接的先决条件,对吗? – Technext