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 #8017: Adding an authorized network when "common-root" directive is missing seems to work, but actually fails #1649

Conversation

fanf
Copy link
Member

@fanf fanf commented Apr 27, 2017

…ive is missing seems to work, but actually fails
Copy link
Member

@ncharles ncharles left a comment

Choose a reason for hiding this comment

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

Failing early when system directives are not there is indeed the right solution.
However, i'd like to have consistency between advertised variables in config file and the hardcoding here

@@ -141,6 +143,37 @@ class CheckDIT(
case Full(_) => //ok
}

//check Root Policy Server entries (from init-policy-server.ldif)
val dns = List(
"nodeId=root,ou=Nodes,cn=rudder-configuration"
Copy link
Member

Choose a reason for hiding this comment

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

we have properties in config file for these
We should either use the properties, or either say they should never touched/used

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't think so... What properties are you talking about?

Copy link
Member Author

Choose a reason for hiding this comment

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

oh, rudder base?

Copy link
Member Author

Choose a reason for hiding this comment

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

Well, the config file is lying, because rudder-init does care at all of these properties.

@Normation-Quality-Assistant
Copy link
Contributor

This PR is not mergeable to upper versions.
Since it is "Ready for merge" you must merge it by yourself using the following command:
rudder-dev merge https://github.com/Normation/rudder/pull/1649
-- Your faithful QA

@fanf
Copy link
Member Author

fanf commented Apr 27, 2017

OK, merging this PR

@fanf fanf merged commit 6a41978 into Normation:branches/rudder/3.1 Apr 27, 2017
@fanf fanf deleted the bug_8017/adding_an_authorized_network_when_common_root_directive_is_missing_seems_to_work_but_actually_fails branch March 15, 2024 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants