fix redis permissions
This commit is contained in:
parent
dcd2ebc49c
commit
43e7c1f3e4
2 changed files with 9 additions and 2 deletions
|
@ -26,9 +26,15 @@ defaults = {
|
|||
'config': {
|
||||
'server': {
|
||||
'http_port': 8300,
|
||||
'http_addr': '127.0.0.1',
|
||||
'enable_gzip': True,
|
||||
},
|
||||
'database': {
|
||||
'url': f'postgres://grafana:{postgres_password}@localhost:5432/grafana',
|
||||
'type': 'postgres',
|
||||
'host': '127.0.0.1:5432',
|
||||
'name': 'grafana',
|
||||
'user': 'grafana',
|
||||
'password': postgres_password,
|
||||
},
|
||||
'remote_cache': {
|
||||
'type': 'redis',
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
directories = {
|
||||
'/etc/redis': {
|
||||
'purge': True,
|
||||
'owner': 'redis',
|
||||
'needs': [
|
||||
'pkg_apt:redis-server',
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue