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

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. Use our Hosting referral link if you planning to start your blog ($3.82/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...

15 Responses

  1. satya says:

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

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

  2. 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?


  3. 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

  4. 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?

  5. 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..

  6. 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 *

Join Over 300K+ Linux Users
  1. 257,757
  2. 11,967
  3. 39,682

Are you subscribed?