Commit cdc8f56
committed
Fix template logic
Parameter 'server_type' should be 'master' if the host is in the group
'thinlinc_masters', but not otherwise. This patch prevents the parameter
being set to 'master' even if the host is not in this group.
Commit 6410106 did not completely remove the requirement for having
specific group names in the inventory, and introduced a logic error.
With this commit the group requirement remains, but resolves the issue
where members of 'agent_servers' would be configured as masters.
Fixes #33.1 parent a75bf7a commit cdc8f56
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
0 commit comments