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 #4983: remove HOSTLICENCESPAID from Rudder #544

Conversation

ncharles
Copy link
Member

@ncharles ncharles commented Jun 9, 2014

No description provided.

// Set the licences for the Nova
val varLicensesPaidValue = if (nodeInfo.agentsName.contains(NOVA_AGENT)) {
// Check that the policy server have Nova license if the host is a Nova
if (nodeInfo.agentsName.contains(NOVA_AGENT)) {
licenseRepository.findLicense(nodeInfo.policyServerId) match {
Copy link
Member

Choose a reason for hiding this comment

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

should be
if(nodeInfo.agentsName.contains(NOVA_AGENT) && licenseRepository.findLicense(nodeInfo.policyServerId).isEmpty) {...

@ncharles
Copy link
Member Author

PR has been updated

@fanf
Copy link
Member

fanf commented Jun 20, 2014

OK for me, can be merged when needed.

ncharles added a commit that referenced this pull request Jun 20, 2014
…CENCESPAID_from_rudder

Fixes #4983: remove HOSTLICENCESPAID from Rudder
@ncharles ncharles merged commit f98ce44 into Normation:branches/rudder/2.11 Jun 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants