From 655579291ffa0ff6074ae7b09d56c14b7bcdf8af Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Mon, 6 Oct 2014 16:41:32 +0000 Subject: [PATCH] mash.conf for bodhi (staging). --- roles/bodhi/masher/tasks/main.yml | 9 +++++++-- roles/bodhi/masher/templates/mash.conf | 14 ++++++++++++++ 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 roles/bodhi/masher/templates/mash.conf diff --git a/roles/bodhi/masher/tasks/main.yml b/roles/bodhi/masher/tasks/main.yml index 707609d609..8c257d1716 100644 --- a/roles/bodhi/masher/tasks/main.yml +++ b/roles/bodhi/masher/tasks/main.yml @@ -46,8 +46,13 @@ tags: - config -- name: setup /etc/bodhi/mash.conf directory - file: path=/etc/bodhi/mash.conf owner=masher group=masher mode=0755 state=directory +- name: setup /etc/bodhi/mash.conf file... + template: > + src=mash.conf + dest=/etc/bodhi/mash.conf + owner=masher + group=masher + mode=0640 tags: - config diff --git a/roles/bodhi/masher/templates/mash.conf b/roles/bodhi/masher/templates/mash.conf new file mode 100644 index 0000000000..e68d26af94 --- /dev/null +++ b/roles/bodhi/masher/templates/mash.conf @@ -0,0 +1,14 @@ +[defaults] +{% if environment == 'staging' %} +buildhost = http://koji.stg.fedoraproject.org/kojihub +{% else %} +buildhost = http://koji.fedoraproject.org/kojihub +{% endif %} + +symlink = False +configdir = /etc/bodhi/ +repodir = /mnt/koji +fork = True +use_sqlite = True +strict_keys = True +max_delta_rpm_size = 1500000000