diff options
Diffstat (limited to 'helpers.patch')
-rw-r--r-- | helpers.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/helpers.patch b/helpers.patch new file mode 100644 index 0000000..33be500 --- /dev/null +++ b/helpers.patch @@ -0,0 +1,35 @@ +diff --git a/copr_backend/helpers.py b/copr_backend/helpers.py +index df2819e0..c85c7396 100644 +--- a/copr_backend/helpers.py ++++ b/copr_backend/helpers.py +@@ -288,6 +288,9 @@ class BackendConfigReader(object): + opts.redis_port = _get_conf( + cp, "backend", "redis_port", "6379") + ++ opts.redis_pwd = _get_conf( ++ cp, "backend", "redis_password", None) ++ + opts.redis_db = _get_conf( + cp, "backend", "redis_db", "0") + + +@@ -416,6 +416,19 @@ class BackendConfigReader(object): + opts.aws_cloudfront_distribution = _get_conf( + cp, "backend", "aws_cloudfront_distribution", None) + ++ opts.message = Munch() ++ opts.message.bootstrap_servers = _get_conf( ++ cp, "message", "bootstrap_servers", None) ++ ++ opts.message.user_name = _get_conf( ++ cp, "message", "user_name", None) ++ ++ opts.message.password = _get_conf( ++ cp, "message", "password", None) ++ ++ opts.message.topic = _get_conf( ++ cp, "message", "topic", None) ++ + # ssh options + opts.ssh = Munch() + opts.ssh.builder_config = _get_conf( |