-
-
Notifications
You must be signed in to change notification settings - Fork 150
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
Allow logconfig option in ntp.conf #250
Labels
Feature Request
Enhancement to existing functionality or new functionality
Comments
ericpaliotta
added
the
Feature Request
Enhancement to existing functionality or new functionality
label
Jun 5, 2024
ericpaliotta
added a commit
to ericpaliotta/ntp
that referenced
this issue
Jun 19, 2024
Added option for more verbose logging configuration (logconfig =all) Signed-off-by: ericpaliotta <ericpaliotta217@gmail.com>
ericpaliotta
added a commit
to ericpaliotta/ntp
that referenced
this issue
Jun 19, 2024
Added the ability to modify logconfig with attributes Signed-off-by: ericpaliotta <ericpaliotta217@gmail.com>
ericpaliotta
added a commit
to ericpaliotta/ntp
that referenced
this issue
Jun 19, 2024
Added option to set logconfig with an attribute. By-default nothing is added to ntp.conf Signed-off-by: ericpaliotta <ericpaliotta217@gmail.com>
ericpaliotta
added a commit
to ericpaliotta/ntp
that referenced
this issue
Jun 19, 2024
Added capability to set logconfig using an attribute Signed-off-by: ericpaliotta <ericpaliotta217@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🙍 Problem Statement
I have a use-case for which I would like to have more verbose ntp logging on some Ubuntu servers. This can be achieved using the
logconfig =all
option in thentp.conf
file. However, it seems like thentp.conf.erb
file in this repository does not have this option available via an attribute.❔ Possible Solution
There is a simple solution to add a few lines to
ntp.conf.erb
which is something like this (in pseudo-code):I think this should work on most OSs (not sure though, I am not very familiar with NTP).
I've considered using a bash resource to append this option manually to the
ntp.conf
. In addition, I tried to overwrite the config file using my own template. However, doing so triggers an ntp restart on each Chef run (this is not ideal for a number of reasons).P.S. Please let me know if you need more information, or if I have missed a preexisting solution to this problem!
The text was updated successfully, but these errors were encountered: