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

Support timestamp and logfile config options #389

Merged

Conversation

antaflos
Copy link
Contributor

Add new class parameters "log_timestamp" and "log_file_name".

log_timestamp is false by default; the "timestamp" option is only
enabled in corosync.conf if log_timestamp => true.

log_file_name is not set by default; the "logfile" option is only set in
corosync.conf if log_file => true and log_file_name is an absolute path.
If log_file_name is not an absolute path catalog compilation will fail.

Includes spec tests and class parameter docs. This change is fully
backwards compatible and does not change the contents of corosync.conf
if the new parameters are left at their defaults.

@antaflos antaflos force-pushed the support_logfile_and_timestamp_options branch from d4261f2 to 3b4119b Compare December 12, 2016 00:28
@antaflos
Copy link
Contributor Author

So apparently the acceptance test for Debian 8 fails as there seems to be a problem installing the openhpid package. This is definitely not related to my changes.

@antaflos
Copy link
Contributor Author

antaflos commented Jan 5, 2017

Beaker tests are still failing because of the openhpid problem, unrelated to my changes.

Add new class parameters "log_timestamp" and "log_file_name".

log_timestamp is false by default; the "timestamp" option is only
enabled in corosync.conf if log_timestamp => true.

log_file_name is not set by default; the "logfile" option is only set in
corosync.conf if log_file => true and log_file_name is an absolute path.
If log_file_name is not an absolute path catalog compilation will fail.

Includes spec tests and class parameter docs. This change is fully
backwards compatible and does not change the contents of corosync.conf
if the new parameters are left at their defaults.
@antaflos antaflos force-pushed the support_logfile_and_timestamp_options branch from af6c2c4 to cfa3f14 Compare February 15, 2017 09:32
@antaflos
Copy link
Contributor Author

New month, new round of test errors that have nothing to do with my changes.

Should I even bother checking back here again? Or are pull requests against this module a waste of everybody's time?

@roidelapluie
Copy link
Member

Merged, Thanks and sorry!

@roidelapluie roidelapluie merged commit a340f0d into voxpupuli:master Feb 15, 2017
@antaflos
Copy link
Contributor Author

Nice, thank you!

@bastelfreak
Copy link
Member

Hi @antaflos, sorry for the huge delay here. December till now was quite busy for us. Many people were on holidays and also we had a lot of work to do for the puppet 3 deprecation https://voxpupuli.org/blog/2017/01/11/migrating-to-puppet4/. However most of the work is done since the last weekend. We should be able to respond faster again to PRs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants