-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(config): fix various configuration issues
- Loading branch information
1 parent
7a169c0
commit f090d31
Showing
30 changed files
with
619 additions
and
680 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1 @@ | ||
# -*- coding: utf-8 -*- | ||
# vim: ft=sls | ||
--- | ||
{%- set tplroot = tpldir.split('/')[0] %} | ||
{%- from tplroot ~ "/map.jinja" import mapdata as rabbitmq with context %} | ||
{%- for name, node in rabbitmq.nodes.items() %} | ||
{%- if 'policies' in node and node.policies is mapping %} | ||
{%- for policy, p in node.policies.items() %} | ||
rabbitmq-config-policies-absent-{{ name }}-{{ policy }}: | ||
rabbitmq_policy.absent: | ||
{%- for v in p %} | ||
{%- if 'name' in v %} | ||
- {{ v|yaml }} | ||
{%- endif %} | ||
{%- endfor %} | ||
- runas: rabbitmq | ||
- onlyif: | ||
- test -x /usr/sbin/rabbitmqctl | ||
- test -d {{ rabbitmq.dir.data }} | ||
{%- endfor %} | ||
{%- endif %} | ||
{%- endfor %} | ||
# not implemented |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1 @@ | ||
# -*- coding: utf-8 -*- | ||
# vim: ft=sls | ||
--- | ||
{%- set tplroot = tpldir.split('/')[0] %} | ||
{%- from tplroot ~ "/map.jinja" import mapdata as rabbitmq with context %} | ||
{%- for name, node in rabbitmq.nodes.items() %} | ||
{%- if 'upstreams' in node and node.upstreams is mapping %} | ||
{%- for upstream, p in node.upstreams.items() %} | ||
rabbitmq-config-upstreams-absent-{{ name }}-{{ upstream }}: | ||
rabbitmq_upstream.absent: | ||
- name: {{ upstream }} | ||
- runas: rabbitmq | ||
- onlyif: | ||
- test -x /usr/sbin/rabbitmqctl | ||
- test -d {{ rabbitmq.dir.data }} | ||
{%- endfor %} | ||
{%- endif %} | ||
{%- endfor %} | ||
# not implemented |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.