Puppet agent
Hello,
I have a Satellite 6.3 and several hosts. Now I'd like to use puppet in order to manage configurations.
Following official guide I should install puppet-agent from satellite-tools repo but there's also another repo called satellite-tools-puppet4. From which repo should I install package?
Thanks!
Responses
Fabio,
The puppet agent version has to match the puppet server version.
So you need to determine the puppet server version.
rpm -qa|grep puppet
puppetserver-2.8.0-1.el7sat.noarch
would indicate a puppet 4 server, so the agent needs to come from the satellite-tools-puppet4 repository.
I do not understand the confusing version numbering.
Another way to determine is to look in /etc:
/etc/puppet/indicates a version 3 server, so you need the puppet agent from satellite-tools/etc/puppetlabsindicates a version 4 server, so you need the puppet agent from satellite-tools-puppet4
Regards,
Jan Gerrit
Hi,
Correct about version mismatch for Puppet. I expected Satellite 6.3 to be on Puppet 5.x - that is why I suggested the agent version.
On the topic: whilst this is not recommended, different versions of Puppet server and agents can work. Without going into details, here is part of the procedure we developed for purely testing purposes during migration from Puppet Open-source to Puppet Enterprise (Puppet deployment of Pivotal tcServer):
Remove old version of Puppet agent (puppet-3.8.6-2.el7sat.noarch):
puppet agent --disable
puppet agent -tv
yum remove puppet-3.8.6-2.el7sat.noarch
... and then install new version of Puppet agent manually:
yum install puppet-agent-5.3.3-1.el7.x86_64.rpm
puppet module install puppetlabs-java_ks-2.1.0.tar.gz
puppet module install puppetlabs-lvm-1.0.0.tar.gz
puppet module install puppetlabs-stdlib-4.24.0.tar.gz
Voila, it worked :)
The first thing I do when I get warnings from vendors that "something must not be used" is to verify the opposite in a test lab. Trust trust verification :) In 34 years in IT business, this attitude helped me many times...
Regards,
Dusan Baljevic (amateur radio VK2COT)
Hello
When you install Satellite 6.3 you are asked to choose from Puppet 3 or Puppet 4. See Installing Satellite Server.
The Configuring Repositories section is where you implement your choice.
There is a link in the second paragraph to the Upgrading Puppet section in the Upgrading and Updating Red Hat Satellite guide, but that is for when you want to upgrade to Puppet 4 after installation.
Then see Installing and Configuring the Puppet Agent in the Managing Hosts guide.
The Red Hat Satellite 6.3.0 section of the Package Manifest lists the versions of Puppet.
Hello Fabio,
This is server version 3.8.6. So you should install the puppet agent from the satellite-tools repository.
Dusan's experiment is great, but the result is not supported by Red Hat.
It is only wise to follow his approach, when using a standalone Puppet master, not the integrated Puppet master of the Satellite server.
Regards,
Jan Gerrit Kootstra
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
