Little further refinement to condition checking for deployment steps
This commit is contained in:
parent
d48b3f2615
commit
c1159db3be
1 changed files with 3 additions and 1 deletions
|
@ -116,7 +116,9 @@ if freeipa_masters.empty? then
|
|||
|
||||
node.set[:freeipa][:master] = true
|
||||
|
||||
elsif (node[:freeipa][:master].nil? && node[:freeipa][:master] == false) && (node[:freeipa][:replica].nil? && node[:freeipa][:replica] == false) then
|
||||
#elsif (node[:freeipa][:master].nil? && node[:freeipa][:master] == false) && (node[:freeipa][:replica].nil? && node[:freeipa][:replica] == false) then
|
||||
elsif (node[:freeipa][:master] && node[:freeipa][:master].respond_to?(:value) && node[:freeipa][:master] == false) &&
|
||||
(node[:freeipa][:replica] && node[:freeipa][:replica].respond_to?(:value) && node[:freeipa][:replica] == false) then
|
||||
### Subsequent Replica Nodes
|
||||
|
||||
# check to see if slave is setup to replicat from master
|
||||
|
|
Loading…
Reference in a new issue