-
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
Step tickers #329
Step tickers #329
Conversation
The /etc/ntp/step-tickers file is used by `ntpdate` on system boot to adjust system time before ntp initializes. The default contents, at least on RHEL7, point to public pool servers. If an organization has internal ntp servers, using internet time servers is undesirable (and may be firewalled off, anyway). This adds support for managing the step-tickers file with the value of the `servers` array used in the `/etc/ntp.conf`. Spec tests have been updated.
8b200bd
to
7014814
Compare
| @@ -29,6 +29,12 @@ | |||
| it { should contain_file('/etc/ntp.conf').with_group('0') } | |||
| it { should contain_file('/etc/ntp.conf').with_mode('0644') } | |||
|
|
|||
| if system == 'RedHat' or system == 'Fedora' | |||
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.
I've determined that this can also read if :osfamily == 'RedHat' to accomplish the same check.
7014814
to
1d456a9
Compare
|
@skpy Thanks! I've made this change, just waiting for travis to run against new commit Cheers JT |
| @@ -29,6 +29,12 @@ | |||
| it { should contain_file('/etc/ntp.conf').with_group('0') } | |||
| it { should contain_file('/etc/ntp.conf').with_mode('0644') } | |||
|
|
|||
| if :osfamily == 'RedHat' | |||
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.
this is always false
1d456a9
to
1cdff74
Compare
No description provided.