@@ -194,6 +194,7 @@ suites: | |||
'*': | |||
- diaspora._mapdata | |||
- diaspora | |||
- redis | |||
pillars: | |||
top.sls: | |||
base: | |||
@@ -203,6 +204,9 @@ suites: | |||
pillars_from_files: | |||
diaspora.sls: pillar.example | |||
tests.sls: test/salt/pillar/tests.sls | |||
dependencies: | |||
- name: redis | |||
path: test/salt/states | |||
verifier: | |||
inspec_tests: | |||
- path: test/integration/_mapdata |
@@ -0,0 +1,11 @@ | |||
{%- if grains.osfinger == 'Ubuntu-18.04' %} | |||
redis_config: | |||
file.replace: | |||
- name: '/etc/redis/redis.conf' | |||
- pattern: '^bind .*$' | |||
- repl: 'bind 127.0.0.1' | |||
- require: | |||
- pkg: redis_package | |||
- require_in: | |||
- service: redis_service | |||
{%- endif %} |