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 #12674: Policies regeneration error when using a parameters with " char #1941

Conversation

fanf
Copy link
Member

@fanf fanf commented May 22, 2018

, systemVariableSpecService.get("AGENT_TYPE").toVariable(Seq(agentNodeConfig.agentType.toString))
, systemVariableSpecService.get("RUDDER_NODE_CONFIG_ID").toVariable(Seq(nodeConfigVersion.value))

).map(x => (x.spec.name, x)).toMap

for {
bundleVars <- prepareBundleVars(agentNodeConfig.config.nodeInfo.id, agentNodeConfig.agentType, agentNodeConfig.config.nodeInfo.osDetails
, agentNodeConfig.config.nodeInfo.policyMode, globalPolicyMode, container)
paramValues <- Control.sequence(agentNodeConfig.config.parameters.toSeq) { x =>
Copy link
Member

Choose a reason for hiding this comment

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

did you check that it worked with DSC ?

@fanf
Copy link
Member Author

fanf commented May 23, 2018

PR rebased

@fanf fanf force-pushed the bug_12674/policies_regeneration_error_when_using_a_parameters_with_char branch from deb0a90 to 7172b78 Compare May 23, 2018 09:23
@fanf
Copy link
Member Author

fanf commented May 23, 2018

PR rebased

@fanf fanf force-pushed the bug_12674/policies_regeneration_error_when_using_a_parameters_with_char branch from 7172b78 to d30fdc8 Compare May 23, 2018 10:14
@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/1941
-- Your faithful QA

@fanf
Copy link
Member Author

fanf commented May 23, 2018

OK, merging this PR

@fanf fanf merged commit d30fdc8 into Normation:branches/rudder/4.2 May 23, 2018
@fanf fanf deleted the bug_12674/policies_regeneration_error_when_using_a_parameters_with_char branch March 15, 2024 10:11
This pull request was closed.
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.

3 participants