Skip to content

Commit

Permalink
Merge pull request #72 from noelmcloughlin/user
Browse files Browse the repository at this point in the history
fix(user): fix rendering error for user; fix ci
  • Loading branch information
myii authored May 21, 2021
2 parents ddd0bc5 + 346df02 commit e22c7c3
Show file tree
Hide file tree
Showing 12 changed files with 26 additions and 4 deletions.
5 changes: 2 additions & 3 deletions rabbitmq/config/user/install.sls
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ include:
rabbitmq-config-user-present-{{ name }}:
rabbitmq_user.present:
{% for value in user %}
- {{ value | json }}
{% endfor %}
- name: {{ name }}
- {{ user|yaml }}
- require:
- sls: {{ sls_service_running }}
- sls: {{ sls_config_vhost }}
Expand Down
6 changes: 6 additions & 0 deletions rabbitmq/package/install.sls
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
include:
- {{ sls_repo_install }}
{%- if rabbitmq.pkg.deps %}
rabbitmq-package-install-pkg-deps:
pkg.installed:
- names: {{ rabbitmq.pkg.deps|json }}
{%- endif %}
rabbitmq-package-install-pkg-installed:
pkg.installed:
- env:
Expand Down
1 change: 1 addition & 0 deletions rabbitmq/parameters/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ values:
name: rabbitmq-server
# https://github.com/rabbitmq/rabbitmq-server/releases/tag/v3.8.14
use_upstream: repo # use upstream repo (if applicable)
deps: []
dir:
base: /usr/lib/rabbitmq
data: /var/lib/rabbitmq
Expand Down
5 changes: 4 additions & 1 deletion rabbitmq/parameters/os_family/Debian.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,8 @@
# you can remove this file or provide at least an empty dict, e.g.
# values: {}
---
values: {}
values:
pkg:
deps:
- libtinfo5
...
2 changes: 2 additions & 0 deletions test/integration/default/files/_mapdata/debian-10.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ values:
- C@rabbitmq
- Y:G@id
pkg:
deps:
- libtinfo5
name: rabbitmq-server
use_upstream: repo
plugin:
Expand Down
2 changes: 2 additions & 0 deletions test/integration/default/files/_mapdata/debian-9.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ values:
- C@rabbitmq
- Y:G@id
pkg:
deps:
- libtinfo5
name: rabbitmq-server
use_upstream: repo
plugin:
Expand Down
1 change: 1 addition & 0 deletions test/integration/default/files/_mapdata/fedora-32.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ values:
- C@rabbitmq
- Y:G@id
pkg:
deps: []
name: rabbitmq-server
use_upstream: repo
plugin:
Expand Down
1 change: 1 addition & 0 deletions test/integration/default/files/_mapdata/fedora-33.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ values:
- C@rabbitmq
- Y:G@id
pkg:
deps: []
name: rabbitmq-server
use_upstream: repo
plugin:
Expand Down
1 change: 1 addition & 0 deletions test/integration/default/files/_mapdata/fedora-34.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ values:
- C@rabbitmq
- Y:G@id
pkg:
deps: []
name: rabbitmq-server
use_upstream: repo
plugin:
Expand Down
2 changes: 2 additions & 0 deletions test/integration/default/files/_mapdata/ubuntu-16.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ values:
- C@rabbitmq
- Y:G@id
pkg:
deps:
- libtinfo5
name: rabbitmq-server
use_upstream: repo
plugin:
Expand Down
2 changes: 2 additions & 0 deletions test/integration/default/files/_mapdata/ubuntu-18.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ values:
- C@rabbitmq
- Y:G@id
pkg:
deps:
- libtinfo5
name: rabbitmq-server
use_upstream: repo
plugin:
Expand Down
2 changes: 2 additions & 0 deletions test/integration/default/files/_mapdata/ubuntu-20.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ values:
- C@rabbitmq
- Y:G@id
pkg:
deps:
- libtinfo5
name: rabbitmq-server
use_upstream: repo
plugin:
Expand Down

0 comments on commit e22c7c3

Please sign in to comment.