我在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