Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Merge "Support actual hostnames in DeploymentServerBlacklist"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and openstack-gerrit committed Oct 31, 2022
2 parents ae365c4 + 3e41f36 commit dfcf977
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 7 deletions.
23 changes: 16 additions & 7 deletions puppet/role.role.j2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,14 +133,23 @@ parameters:

conditions:
server_blacklisted:
equals:
- {get_param: [DeploymentServerBlacklistDict, {get_param: Hostname}]}
- 1
or:
- equals:
- {get_param: [DeploymentServerBlacklistDict, {get_param: Hostname}]}
- 1
- equals:
- {get_param: [DeploymentServerBlacklistDict, {get_param: [HostnameMap, {get_param: Hostname}]}]}
- 1
server_not_blacklisted:
not:
equals:
- {get_param: [DeploymentServerBlacklistDict, {get_param: Hostname}]}
- 1
and:
- not:
equals:
- {get_param: [DeploymentServerBlacklistDict, {get_param: Hostname}]}
- 1
- not:
equals:
- {get_param: [DeploymentServerBlacklistDict, {get_param: [HostnameMap, {get_param: Hostname}]}]}
- 1
ctlplane_fixed_ip_set:
or:
- not:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
features:
- |
DeploymentServerBlacklist parameter now supports both
heat and actual hostnames.

0 comments on commit dfcf977

Please sign in to comment.