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

Fixes #30140 - Check should only run if dhcp provider is 'dhcp_isc' #364

Merged
merged 2 commits into from Jul 29, 2020

Conversation

patilsuraj767
Copy link
Contributor

No description provided.

@theforeman-bot
Copy link
Member

Issues: #30140

@@ -9,15 +9,16 @@ class VerifyDhcpConfigSyntax < ForemanMaintain::Check
end

def run
if feature(:foreman_proxy).features.include?('dhcp')
if feature(:foreman_proxy).features.include?('dhcp') &&
Copy link
Member

Choose a reason for hiding this comment

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

Would it make sense to move this dhcp feature condition in confine block?

@kgaikwad
Copy link
Member

any updates on this?

@patilsuraj767
Copy link
Contributor Author

any updates on this?

@kgaikwad I have shifted the condition to confine block.

Copy link
Member

@kgaikwad kgaikwad left a comment

Choose a reason for hiding this comment

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

LGTM 👍

Copy link
Contributor

@upadhyeammit upadhyeammit left a comment

Choose a reason for hiding this comment

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

LGTM !

@kgaikwad kgaikwad merged commit 244fc5a into theforeman:master Jul 29, 2020
@kgaikwad
Copy link
Member

Thank you @patilsuraj767!

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

Successfully merging this pull request may close these issues.

None yet

4 participants