puppetserver 1.1.3和puppet-server 3.8.6-1有什么区别?

时间:2016-04-14 13:53:58

标签: installation puppet

我正在尝试设置木偶大师。我使用以下方法在我的CentOS 7盒中安装了puppetlabs:

$ sudo rpm -ivh https://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm

现在,当我尝试提供sudo yum install puppet-server时,它会安装 puppet-server 3.8.6-1以及puppet 3.8.6-1。

但是documentation要求做sudo yum install puppetserver(注意在服务器之前连字符丢失了)。当我运行它时,会安装 puppetserver 1.1.3-1和puppet 3.8.6-1。

我的问题是 - puppet-server和puppetserver有什么区别。有些文件要求使用puppet-server进行例如this。我应该使用哪一个?

有关详细信息,请参阅这些屏幕截图: screenshot1 screenshot2

感谢。

2 个答案:

答案 0 :(得分:4)

包名称的相似性是不幸的,因为它们是提供类似功能的完全不同的包。

puppet-server包用于机器运行原始的Ruby / Rack puppetmaster服务。这并不是很多,因为大多数必需品都内置在主puppet包中。它包含一个内部Webrick服务器,因此可以独立运行,但更常用于机架堆栈,例如Apache / Passenger,以获得更好的容量和可扩展性。

puppetserver包用于机器运行新的基于Java的“puppetserver”服务端点以供服务目录。它仍然依赖于下面的Ruby目录构建器;只有客户服务部门转移到Java。

您可以使用其中一个,但不能同时使用两个。 puppet-server的优点是不需要下面的Java堆栈。 puppetserver表现更好,但仅限于实际的客户服务位。目录构建通常是真正的瓶颈,而puppetserver依赖于与puppet-server相同的基础架构。

答案 1 :(得分:0)

puppetserver是正确的安装方式。见这里,

https://docs.puppet.com/puppetserver/2.3/install_from_packages.html

另外,如果你想知道他们应该做什么。这将清楚地说明哪个包包含正确的东西。 https://docs.puppet.com/puppetserver/2.3/services_master_puppetserver.html

puppet-server似乎正在设置示例环境。很可能是虚拟包装。

]$ rpm -qlp http://yum.puppetlabs.com/el/7/products/x86_64/puppet-server-3.8.6-1.el7.noarch.rpm
/etc/puppet/environments
/etc/puppet/environments/example_env
/etc/puppet/environments/example_env/README.environment
/etc/puppet/environments/example_env/manifests
/etc/puppet/environments/example_env/modules
/etc/puppet/fileserver.conf
/etc/puppet/manifests
/usr/lib/systemd/system/puppetmaster.service
/usr/share/man/man8/puppet-ca.8.gz
/usr/share/man/man8/puppet-master.8.gz

comapred到puppetserver

]$ rpm -qlp http://yum.puppetlabs.com/el/7/products/x86_64/puppetserver-1.1.3-1.el7.noarch.rpm
/etc/logrotate.d/puppetserver
/etc/puppetserver
/etc/puppetserver/bootstrap.cfg
/etc/puppetserver/conf.d
/etc/puppetserver/conf.d/ca.conf
/etc/puppetserver/conf.d/global.conf
/etc/puppetserver/conf.d/os-settings.conf
/etc/puppetserver/conf.d/puppetserver.conf
/etc/puppetserver/conf.d/web-routes.conf
/etc/puppetserver/conf.d/webserver.conf
/etc/puppetserver/logback.xml
/etc/puppetserver/request-logging.xml
/etc/sysconfig/puppetserver
/usr/bin/puppetserver
/usr/lib/systemd/system/puppetserver.service
/usr/share/puppetserver
/usr/share/puppetserver/cli
/usr/share/puppetserver/cli/apps
/usr/share/puppetserver/cli/apps/foreground
/usr/share/puppetserver/cli/apps/gem
/usr/share/puppetserver/cli/apps/irb
/usr/share/puppetserver/cli/apps/ruby
/usr/share/puppetserver/ezbake-functions.sh
/usr/share/puppetserver/ezbake.manifest
/usr/share/puppetserver/puppet-server-release.jar
/usr/share/puppetserver/scripts
/usr/share/puppetserver/scripts/install.sh
/var/log/puppetserver
/var/run/puppetserver