Merge "Configuration is now properly applied to new nodes"

This commit is contained in:
Jenkins 2016-11-24 07:06:42 +00:00 committed by Gerrit Code Review
commit f1bc936a6e
2 changed files with 7 additions and 2 deletions

View File

@ -210,7 +210,7 @@ Methods:
- serverGroup:
Contract: $.class(ServerGroup).notNull()
Body:
- $key: $this.getConfigurationKey()
- $key: list($this.getConfigurationKey()) + $serverGroup.getKey()
- $state: $serverGroup.getAttr(configuration)
- Return: $key = $state
@ -317,7 +317,7 @@ Methods:
Then:
- $this.completeConfigurationEvent.notify($this, $servers, $serverGroup, $failedServers)
- $this.onCompleteConfiguration($servers, $serverGroup, $failedServers)
- $key: $this.getConfigurationKey()
- $key: list($this.getConfigurationKey()) + $serverGroup.getKey()
- $serverGroup.setAttr(configuration, $key)
- $this.report(format('Finished configuring {0} ({1} errors encountered)',
name($this), $numFailures or 'no'))

View File

@ -23,6 +23,11 @@ Name: ServerGroup
Methods:
getServers:
getKey:
Body:
- Return: $this.getServers().select(id($)).orderBy($)
deployServers:
Usage: Static
Arguments: