Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

In search of File location for automation with Puppet

Discussion in 'General Discussion' started by Neutrall, Sep 28, 2016.

  1. Neutrall

    Neutrall Member PartnerNOC

    Jul 22, 2014
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    DataCenter Provider
    We now have too many cPanel servers to manage; therefore we are setting up an automation configuration system using puppet.

    So far, so good! But I’m missing some file location.

    For Exim, I currently have the following files:

    /etc/ exim.conf.local

    /etc/ exim.conf


    Are all of Exim configuration contain within those files? (I’m referring mainly to the basic Exim Configuration files.

    For Apache, I don’t want to modify directly the httpd.conf file, but I would like to reproduce the setting for Global Configuration, Log rotation and Piped Log Configuration.

    I would also like to ensure that all my server have the same password strength from the Password Strength Configuration (In Security Center)

    For the other files (like CSF, MailScanner, Softacoulus, MultiPHP php.ini files) I think I got them properly figure out!

    Thank you for any help you can provide to help me find the proper files!
    #1 Neutrall, Sep 28, 2016
    Last edited by a moderator: Oct 2, 2016
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello @Neutrall,

    You may actually find the cpconftool script useful for this purpose. It's documented at:

    The cpconftool Script - Documentation - cPanel Documentation

    You can utilize that tool, or browse to the "Configuration backup contents" section of that document to see a list of Exim and Apache configuration files. Note that /etc/exim.conf.localopts stores the "Basic Editor" options configured in "WHM >> Exim Configuration Manager", and /var/cpanel/cpanel.config stores the "Password Strength Configuration" value.

    You may also find the following document helpful:

    Installation Guide - Customize Your Installation - Documentation - cPanel Documentation

    Let us know if you have any additional questions.

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice