Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-9104

apache : file_mode parameter not used consistently for all config files

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: apache
    • Labels:
      None
    • Template:
      MODULES Bug Template
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment

      Description

      Module Version: 4.0.0 and 4.1.0
      Puppet Version: 6
      OS Name/Version: any

      The file_mode parameter, according to the README, "Sets the desired permissions mode for config files."  However there are several config files which do not make use of this parameter and therefore their mode cannot be changed.  

      For example
      httpd.conf in init.pp in the file declaration:
      file { "${::apache::conf_dir}/${::apache::params::conf_file}":

      any custom config file in custom_config.pp in the file declaration:
      file { "apache_${name}":

      reqtimeout.conf in reqtimeout.pp in the file declaration:
      file { 'reqtimeout.conf':

      Desired Behavior: 

      These file declarations should include file_mode to allow users to set the desired mode on these files.

      Actual Behavior:

      These file declarations do not include file_mode, which means these config files are always created with the default mode.

        Attachments

          Activity

            People

            Assignee:
            stevegarn Steven Garn
            Reporter:
            stevegarn Steven Garn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support