Leap 15.5 renamed the package, "redis" will try to install Redis 6 and cause a conflict. Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
This commit is contained in:
parent
47a364290c
commit
58c100acc1
@ -41,7 +41,7 @@ salt_master_extra_packages:
|
||||
- python3-ldap
|
||||
- python3-pynetbox
|
||||
- python3-redis
|
||||
- redis
|
||||
- redis7
|
||||
- salt-bash-completion
|
||||
- salt-fish-completion
|
||||
- salt-keydiff
|
||||
@ -68,7 +68,7 @@ salt_master_extra_packages:
|
||||
- group: redis
|
||||
- mode: '0640'
|
||||
- require:
|
||||
- pkg: redis
|
||||
- pkg: redis7
|
||||
|
||||
/var/lib/redis/salt:
|
||||
file.directory:
|
||||
@ -76,19 +76,19 @@ salt_master_extra_packages:
|
||||
- group: redis
|
||||
- mode: '0750'
|
||||
- require:
|
||||
- pkg: redis
|
||||
- pkg: redis7
|
||||
|
||||
salt_redis_service_enable:
|
||||
service.enabled:
|
||||
- name: {{ redis_service }}
|
||||
- require:
|
||||
- pkg: redis
|
||||
- pkg: redis7
|
||||
|
||||
salt_redis_service_start:
|
||||
service.running:
|
||||
- name: {{ redis_service }}
|
||||
- require:
|
||||
- pkg: redis
|
||||
- pkg: redis7
|
||||
- watch:
|
||||
- file: {{ redis_config }}
|
||||
|
||||
@ -96,7 +96,7 @@ salt_redis_membership:
|
||||
group.present:
|
||||
- name: redis
|
||||
- require:
|
||||
- pkg: redis
|
||||
- pkg: redis7
|
||||
- addusers:
|
||||
- {{ master_pillar['user'] }}
|
||||
{%- if pillar['secret_salt'] is defined %}
|
||||
|
Loading…
Reference in New Issue
Block a user