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

Do not offload overriding LogFormats to httpd #1096

Merged
merged 1 commit into from
May 26, 2015
Merged

Do not offload overriding LogFormats to httpd #1096

merged 1 commit into from
May 26, 2015

Conversation

igalic
Copy link
Contributor

@igalic igalic commented Apr 9, 2015

if an admin overrides one of the pre-existing formats, do not offload
that to httpd: check for it, and replace it at configuration
generation time.

@igalic
Copy link
Contributor Author

igalic commented Apr 9, 2015

this might needs tests or documentation.

@underscorgan
Copy link
Contributor

@igalic thanks! Yeah, this definitely needs tests and docs. Do you think this would break existing configurations (i.e., is this backwards incompatible?)

@igalic
Copy link
Contributor Author

igalic commented May 26, 2015

nope. shouldn't be.

@igalic igalic removed the needs-docs label May 26, 2015
@igalic
Copy link
Contributor Author

igalic commented May 26, 2015

once again, i have no idea how to test for this, la la la…
really, i don't know how tests work. i'll just wait for @DavidS to fix rspec-puppet ;P

@DavidS
Copy link
Contributor

DavidS commented May 26, 2015

You need this rspec-puppet PR (rodjek/rspec-puppet#292) and then you can use this pattern (https://github.com/puppetlabs/puppetlabs-stdlib/blob/master/spec/functions/type_spec.rb#L10-L13) without the puppetlabs_spec_helper mess.

if an admin overrides one of the pre-existing formats, do not offload
that to httpd: check for it, and replace it at configuration
generation time.
underscorgan pushed a commit that referenced this pull request May 26, 2015
Do not offload overriding LogFormats to httpd
@underscorgan underscorgan merged commit 421adf5 into puppetlabs:master May 26, 2015
@underscorgan
Copy link
Contributor

thanks @igalic

@igalic igalic deleted the log_reject branch May 27, 2015 11:18
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.

4 participants