2.5.4 Windows代理端安装
puppet Windows客户端需要到官网进行下载,下载地址:
https://downloads.puppetlabs.com/windows/puppet5/puppet-agent-5.1.0-x64.msi
修改hosts文件里面puppet服务端的域名地址和域名指向。

运行puppet-agent-5.1.0-x64.msi

在这里输入puppet服务端的域名地址

一段时间过去就会显示安装完成。

来到自动部署服务器查看证书和批准证书
[root@autodeploy manifests]# puppet cert list
Warning: `puppet cert` is deprecated and will be removed in a future release.
(location: /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:370:in `run')
"win2008-agent" (SHA256) 64:45:90:2A:10:E6:49:C6:DC:E9:83:F7:E9:16:31:00:CD:01:C6:D7:0F:83:7F:2B:2B:B7:97:13:09:B8:6C:6D
[root@autodeploy manifests]# puppet cert sign win2008-agent
Warning: `puppet cert` is deprecated and will be removed in a future release.
(location: /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:370:in `run')
Signing Certificate Request for:
"win2008-agent" (SHA256) 64:45:90:2A:10:E6:49:C6:DC:E9:83:F7:E9:16:31:00:CD:01:C6:D7:0F:83:7F:2B:2B:B7:97:13:09:B8:6C:6D
Notice: Signed certificate request for win2008-agent
Notice: Removing file Puppet::SSL::CertificateRequest win2008-agent at '/etc/puppetlabs/puppet/ssl/ca/requests/win2008-agent.pem'
开始,点击程序,来到puppet的安装目录,点击这个运行文件,就可以自动拖取任务,不用使用命令。

显示运行结果

最后更新于
这有帮助吗?