From 72ab6e2aa094bec4e39d7278b1febae8b8cc5e30 Mon Sep 17 00:00:00 2001 From: Michael Simacek Date: Thu, 14 Apr 2016 21:48:15 +0200 Subject: [PATCH] Add group vars for koschei-stg --- inventory/group_vars/koschei-backend-stg | 58 ++++++++++++++++++++++++ inventory/group_vars/koschei-web-stg | 41 +++++++++++++++++ 2 files changed, 99 insertions(+) create mode 100644 inventory/group_vars/koschei-backend-stg create mode 100644 inventory/group_vars/koschei-web-stg diff --git a/inventory/group_vars/koschei-backend-stg b/inventory/group_vars/koschei-backend-stg new file mode 100644 index 0000000000..f818239ed6 --- /dev/null +++ b/inventory/group_vars/koschei-backend-stg @@ -0,0 +1,58 @@ +--- +# Define resources for this group of hosts here. +lvm_size: 20000 +mem_size: 4096 +num_cpus: 4 + +# for systems that do not match the above - specify the same parameter in +# the host_vars/$hostname file + +koschei_topurl: https://apps.stg.fedoraproject.org/koschei +koschei_pgsql_hostname: db01.stg.phx2.fedoraproject.org +koschei_koji_hub: koji01.stg.phx2.fedoraproject.org +koschei_kojipkgs: koji01.stg.phx2.fedoraproject.org +koschei_koji_web: koji.stg.fedoraproject.org +koschei_koji_tag: f25 + + +tcp_ports: [ + # These 4 are for fedmsg. See also /etc/fedmsg.d/endpoints.py + 3000, 3001, 3002, 3003 +] + +custom_rules: [ + # Need for rsync from log01 for logs. + '-A INPUT -p tcp -m tcp -s 10.5.126.13 --dport 873 -j ACCEPT', + '-A INPUT -p tcp -m tcp -s 192.168.1.59 --dport 873 -j ACCEPT', + ] + +fas_client_groups: sysadmin-koschei,fi-apprentice + +freezes: false + +# These are consumed by a task in roles/fedmsg/base/main.yml +fedmsg_certs: +- service: shell + owner: root + group: sysadmin + can_send: + - logger.log +- service: koschei + owner: root + group: koschei + can_send: + - koschei.package.state.change + - koschei.update + +# For the MOTD +csi_security_category: Low +csi_primary_contact: Fedora admins - admin@fedoraproject.org +csi_purpose: Koschei continuous integration system +csi_relationship: | + This machine depends on: + - PostgreSQL DB server + - Koji hub and kojipkgs + - fedmsg hub + - pkgdb2 + - bastion (for mail relay) + - memcached01 diff --git a/inventory/group_vars/koschei-web-stg b/inventory/group_vars/koschei-web-stg new file mode 100644 index 0000000000..1b31dc3300 --- /dev/null +++ b/inventory/group_vars/koschei-web-stg @@ -0,0 +1,41 @@ +--- +# Define resources for this group of hosts here. +lvm_size: 6000 +mem_size: 1024 +num_cpus: 1 + +# for systems that do not match the above - specify the same parameter in +# the host_vars/$hostname file + +koschei_topurl: https://apps.stg.fedoraproject.org/koschei +koschei_pgsql_hostname: db01.stg.phx2.fedoraproject.org +koschei_koji_hub: koji01.stg.phx2.fedoraproject.org +koschei_kojipkgs: koji01.stg.phx2.fedoraproject.org +koschei_koji_web: koji.stg.fedoraproject.org +koschei_openid_provider: id.stg.fedoraproject.org +koschei_bugzilla: partner-bugzilla.redhat.com + + +tcp_ports: [ 80, 443 ] + +custom_rules: [ + # Need for rsync from log01 for logs. + '-A INPUT -p tcp -m tcp -s 10.5.126.13 --dport 873 -j ACCEPT', + '-A INPUT -p tcp -m tcp -s 192.168.1.59 --dport 873 -j ACCEPT', + ] + +fas_client_groups: sysadmin-koschei,fi-apprentice + +freezes: false + +# For the MOTD +csi_security_category: Low +csi_primary_contact: Fedora admins - admin@fedoraproject.org +csi_purpose: Koschei continuous integration system +csi_relationship: | + This machine depends on: + - PostgreSQL DB server + - Koji hub and kojipkgs + - pkgdb2 + - bastion (for mail relay) + - memcached01