Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add owner, group, file_mode and show_diff to apache::custom_config #1942

Merged
merged 1 commit into from
Sep 18, 2019

Conversation

treydock
Copy link
Contributor

@treydock treydock commented Sep 4, 2019

We use apache::custom_config for files that contain secrets like mod_auth_openidc so this has become necessary and would be ideal not to have to do this:

    ::apache::custom_config { 'auth_openidc':
      content        => template('openondemand/apache/auth_openidc.conf.erb'),
      priority       => false,
    }
    # Hack to set mode of auth_openidc.conf
    File <| title == 'apache_auth_openidc' |> {
      owner     => 'root',
      group     => 'apache',
      mode      => '0640',
      show_diff => false,
    }

@sheenaajay
Copy link
Contributor

Thanks for submitting the PR @treydock

@sheenaajay
Copy link
Contributor

Screen Shot 2019-09-18 at 14 21 35

@sheenaajay sheenaajay merged commit 73ccdca into puppetlabs:master Sep 18, 2019
cegeka-jenkins pushed a commit to cegeka/puppet-apache that referenced this pull request Jul 15, 2020
Add owner, group, file_mode and show_diff to apache::custom_config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants