-
Notifications
You must be signed in to change notification settings - Fork 328
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
(MODULES-10413) Allow custom ntp user and daemon options #551
Conversation
1cf1749
to
8d48a10
Compare
manifests/config.pp
Outdated
match => '^OPTIONS\=', | ||
} | ||
} | ||
# if $ntp::user { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@david22swan should we keep the commented block or remove them
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed :)
8d48a10
to
e10f1cc
Compare
REFERENCE.md
Outdated
Data type: `Optional[String]` | ||
|
||
Specifies any arguments to pass to ntp daemon. Default value: '-g'. | ||
Example value: '-g -i /var/lib/ntp' to enaible jaildir options. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small type 'enable'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed :)
REFERENCE.md
Outdated
|
||
Specifies user to run ntpd daemon. Default value: ntp. | ||
Usually set by default on Centos7 (/etc/systemd/system/multi-user.target.wants/ntpd.service) and ubuntu 18.04 (/usr/lib/ntp/ntp-systemd-wrapper) | ||
This is currently restricted to Redhat based systems of version 7 and aboce and Ubuntu 18.04. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small type 'above'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed :)
manifests/init.pp
Outdated
@@ -28,6 +28,11 @@ | |||
# Specifies an absolute or relative file path to an ERB template for the config file. | |||
# Example value: 'ntp/ntp.conf.erb'. A validation error is thrown if both this **and** the `config_epp` parameter are specified. | |||
# | |||
# @param daemon_extra_opts | |||
# Specifies any arguments to pass to ntp daemon. Default value: '-g'. | |||
# Example value: '-g -i /var/lib/ntp' to enaible jaildir options. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small typo 'enable'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed :)
manifests/init.pp
Outdated
# @param user | ||
# Specifies user to run ntpd daemon. Default value: ntp. | ||
# Usually set by default on Centos7 (/etc/systemd/system/multi-user.target.wants/ntpd.service) and ubuntu 18.04 (/usr/lib/ntp/ntp-systemd-wrapper) | ||
# This is currently restricted to Redhat based systems of version 7 and aboce and Ubuntu 18.04. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small typo 'above'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed :)
e10f1cc
to
ff9869b
Compare
Rebase of #489