Installing Puppet Master and Agent in RHEL/CentOS 7/6/5

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

17 Responses

  1. Salman says:

    I am getting below error while generating certificate in one of our server. So how to resolve this issue?

    [[email protected] bin]# puppet agent --test1 --ca_server=master.yumserver_rhel7
    /opt/puppetlabs/puppet/bin/ruby: /lib64/ version `XCRYPT_2.0' not found (required by /opt/puppetlabs/puppet/lib/
    /opt/puppetlabs/puppet/bin/ruby: /lib64/ version `GLIBC_2.25' not found (required by /opt/puppetlabs/puppet/lib/
    /opt/puppetlabs/puppet/bin/ruby: /lib64/ version `XCRYPT_2.0' not found (required by /opt/puppetlabs/puppet/lib/
    /opt/puppetlabs/puppet/bin/ruby: /lib64/ version `GLIBC_2.25' not found (required by /opt/puppetlabs/puppet/lib/

  2. Bob Forehead says:

    Puppetmaster has been renamed to puppetserver to prevent twitter outrage mobs from attacking Puppetlabs. Slavery was invented by wypipo or something.

  3. satya says:

    i installed downloaded and installed puppet rpm , but unable to open conf file for the same

    [[email protected]]# rpm -qa | grep pup
    [[email protected]]# /etc/init.d/puppetmaster status
    -bash: /etc/init.d/puppetmaster: No such file or directory
    [[email protected]]#

  4. Mahesh says:

    Hi Avishek,

    Can we install both master and agent on one machine? If so, can we just follow the above steps to do that?


  5. Sergio Mira says:

    Very thanks!

    Just an alert:
    If you are running a centos 7, there is no script in /etc/init.d, because of systemd.
    Then you need to control it via systemctl, as follows:

    To verify service status:
    systemctl status puppetmaster

    To restart service:
    systemctl restart puppetmaster

    To enable service to start on boot:
    systemctl enable puppetmaster

  6. Alan says:

    Step #1 has a substep #2. The hyperlink in this step is broken.

    This link returns “404 Not Found.”

    How do I install the Optional Channel?

  7. I wrote puppetinstall (bash script) sometime back : It will install puppet (master/agent) on RHEL 6 but not in RHEL 7. Give a try if you can and also a pull request for RHEL7 too.

    • Ravi Saive says:

      Dear Thilina,

      Thanks for creating easy bash script to install puppet, will surely give it a try on RHEL/CentOS 7, will update you..

  8. Nagu says:

    Hi Kumar,

    Everybody knows how to install rpm’s. We need articles on how to maintain 50 production servers with puppet. How to make one single configuration in 50 servers change from one single click on master.


    • Avishek Kumar says:

      Dear Nagu,
      me too believes the same.
      Anyway, its now the admin’s responsibility what they want to include and exclude in the future article.

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.