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

ncm-ntpd: introduce useserverip boolean to force hostname to IP #558

Merged
merged 2 commits into from
Dec 1, 2015

Conversation

stdweird
Copy link
Member

The component will always try to resolve the configured timeservers, but uses the configured hostname instead of the resolved IP address. If one really wants the resolved IP address rather then the hostname, a new boolean useserverip is introduced to force this behaviour.

Fixes #531

@stdweird stdweird added this to the 15.10 milestone Aug 16, 2015
@stdweird
Copy link
Member Author

@jrha this looked easy, so i fixed it. could be pushed to 15.8 if wanted

@hpcugentbot
Copy link

Refer to this link for build results (access rights to CI server needed):
https://jenkins1.ugent.be/job/NCM_Components-pull_requests/765/
Test PASSed (test).

@stdweird
Copy link
Member Author

@ned21 @jrha any remarks?

@jrha
Copy link
Member

jrha commented Nov 30, 2015

What's with the merge commit?

@stdweird
Copy link
Member Author

@jrha is that from pushing the 'update branch' button?

@jrha
Copy link
Member

jrha commented Nov 30, 2015

I think so, I've never seen that button...

@stdweird
Copy link
Member Author

so we shouldn't press that button? i just asked some people to do so in their PRs

@jrha
Copy link
Member

jrha commented Nov 30, 2015

I hate merge commits. Also: merging from master into topic is just wrong.

@stdweird
Copy link
Member Author

@jrha so pressing the update branch button is a big no-no adn we should only rebase?

@jrha
Copy link
Member

jrha commented Nov 30, 2015

I would prefer that, yes.

@stdweird
Copy link
Member Author

cleaned up

prefix '/software/components/${project.artifactId}';
'active' ?= true;
'dispatch' ?= true;
'version' ?= '${no-snapshot-version}';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the purpose of this attribute? I thought it was to trigger a re-run of the component after the version changed but I recently discovered that ncm-cdispd watches /software/packages/ncm-$component and re-runs any components that has been upgraded. Is this still useful or should be it be dropped?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it will become useful with quattor/ncm-ncd#41
we can remove all version attributes now, and readd them later

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we have a use for them then leave them in. Just trying to make sure we have a consistent view of what is required in this files!

ned21 added a commit that referenced this pull request Dec 1, 2015
ncm-ntpd: introduce useserverip boolean to force hostname to IP
@ned21 ned21 merged commit 028ec3a into quattor:master Dec 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

ncm-ntpd - Use servers names instead of resolved IPs
4 participants