From 03ecca6d730916d6089c7661d90e19f53b89c377 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Fri, 24 Apr 2015 19:21:26 +0000 Subject: [PATCH] Push fedmenu shim out to stg koji. --- roles/koji_hub/tasks/main.yml | 9 +++++++ .../templates/fedmenu-extra-footer.html | 27 +++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 roles/koji_hub/templates/fedmenu-extra-footer.html diff --git a/roles/koji_hub/tasks/main.yml b/roles/koji_hub/tasks/main.yml index a5fc795e72..57bea75d63 100644 --- a/roles/koji_hub/tasks/main.yml +++ b/roles/koji_hub/tasks/main.yml @@ -30,6 +30,15 @@ tags: - koji_hub +- name: fedmenu shim + template: src=fedmenu-extra-footer.html dest=/usr/share/koji-web/static/extra-footer.html + tags: koji_hub + notify: restart httpd + # XXX - we only want to do this in staging for now because it requires a patch + # to koji itself to include the extra-footer.html file in a sufficiently + # advanced way. + when: env == 'staging' + - name: hub config template: src=hub.conf.j2 dest=/etc/koji-hub/hub.conf owner=apache group=apache mode=600 tags: diff --git a/roles/koji_hub/templates/fedmenu-extra-footer.html b/roles/koji_hub/templates/fedmenu-extra-footer.html new file mode 100644 index 0000000000..75934a1e41 --- /dev/null +++ b/roles/koji_hub/templates/fedmenu-extra-footer.html @@ -0,0 +1,27 @@ +{% if env == 'staging' %} + + + +{% else %} + + + +{% endif %} + + +