Fix error during deploy without Zuul and NodePool
When user don't specify Zuul and NodePool application does not initialize several options used by NodePool. As result all these options are None and yaql failed with obvious error. Change-Id: I3513e2ebd70bbfc6cad574cc53830fb90a16e614
This commit is contained in:
parent
07059c9d22
commit
ab20fbe7b5
@ -131,7 +131,7 @@ Methods:
|
||||
gitEmail => $.ldapEmail)
|
||||
|
||||
# Zuul
|
||||
- If: $this.zuul = null
|
||||
- If: $this.zuul = null and $this.zuulNodepoolHelper != null
|
||||
Then:
|
||||
- $zuulInstanceName: concat($.instance_name, '-zuul')
|
||||
- $zuulInstance: new(puppet:PuppetInstance, $._environment,
|
||||
@ -147,7 +147,7 @@ Methods:
|
||||
gerrit => $this.gerrit)
|
||||
|
||||
# Nodepool
|
||||
- If: $this.nodepool = null
|
||||
- If: $this.nodepool = null and $this.zuulNodepoolHelper != null
|
||||
Then:
|
||||
- $nodepoolInstanceName: concat($.instance_name, '-nodepool')
|
||||
- $nodepoolInstance: new(puppet:PuppetInstance, $._environment,
|
||||
|
Loading…
Reference in New Issue
Block a user