nodes: replace pkg_apt:redis with bundle:redis
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-02-07 21:09:39 +01:00
parent a09f565c78
commit c25233b991
Signed by: kunsi
GPG key ID: 12E3D2136B818350
3 changed files with 8 additions and 6 deletions

View file

@ -1,6 +1,8 @@
from os import listdir from os import listdir
from os.path import join from os.path import join
assert node.has_bundle('redis')
directories = { directories = {
'/etc/rspamd/local.d': { '/etc/rspamd/local.d': {
'purge': True, 'purge': True,

View file

@ -4,6 +4,7 @@ nodes['htz-cloud.pirmasens'] = {
'php', 'php',
'postfixadmin', 'postfixadmin',
'postgresql', 'postgresql',
'redis',
'rspamd', 'rspamd',
'unbound', 'unbound',
}, },
@ -22,11 +23,6 @@ nodes['htz-cloud.pirmasens'] = {
'gateway6': 'fe80::1', 'gateway6': 'fe80::1',
}, },
}, },
'apt': {
'packages': {
'redis': {},
},
},
'nginx': { 'nginx': {
'vhosts': { 'vhosts': {
'mail.kunsmann.info': { 'mail.kunsmann.info': {

View file

@ -11,6 +11,7 @@ nodes['htz.ex42-1048908'] = {
'nodejs', 'nodejs',
'php', 'php',
'postfixadmin', 'postfixadmin',
'redis',
'riot-web', 'riot-web',
'rspamd', 'rspamd',
'postgresql', 'postgresql',
@ -38,9 +39,12 @@ nodes['htz.ex42-1048908'] = {
}, },
'apt': { 'apt': {
'packages': { 'packages': {
# TODO
'oidentd': {}, 'oidentd': {},
'php-imagick': {}, 'php-imagick': {},
'redis': {},
# Jenkins build dependencies
'rustc': {},
# No need to create a bundle just to install packages, # No need to create a bundle just to install packages,
# configs will be managed by users nevertheless. # configs will be managed by users nevertheless.