announcer: ''
distill:
- brewhub_url: ''
- rhel_7_lookaside_repo_x86_64_url: ''
- rhel_7_lookaside_repo_src_url: ''
- email: ''
+ rcm_metadata_repo: ''
---
- name: add ceph distill config dir
file:
- path: /etc/distill/ceph
+ path: /etc/distill/
owner: root
group: root
mode: 0755
state: directory
-- name: add distill config files
- template:
- src: "../../templates/distill/{{ item }}"
- dest: "/etc/distill/ceph/{{ item }}"
- owner: root
- group: root
- mode: 0644
- with_items:
- - ceph-1.3-rhel-7.conf
- - comps-ceph-1.3-rhel-7.xml
- - run-distill.conf
- - variants-ceph-1.3-rhel-7.xml
+# This repository contains distill's configuration files.
+- name: clone rcm-metadata.git
+ git:
+ dest: /etc/distill/rcm-metadata
+ repo: "{{ distill.rcm_metadata_repo }}"
+ update: no
+ version: ceph
# distill requires this symlink in order to run.
- name: symlink /mnt/brew
+++ /dev/null
-#
-# {{ ansible_managed }}
-#
-
-# PRODUCT INFO
-product_name = "Red Hat Ceph"
-product_short = "Ceph"
-product_version = "1.3"
-product_is_layered = True
-
-
-# BASE PRODUCT INFO (FOR A LAYERED PRODUCT ONLY)
-base_product_short = "RHEL"
-base_product_version = "7"
-base_product_name = "Red Hat Enterprise Linux"
-
-
-# GENERAL SETTINGS
-bootable = False
-comps_file = "comps-ceph-1.3-rhel-7.xml"
-variants_file = "variants-ceph-1.3-rhel-7.xml"
-
-# FD431D51 = redhatrelease2 (rhel6+ gold key)
-# F21541EB = beta2 (rhel6+ beta key)
-# None = unsigned
-sigkeys = ["FD431D51", "F21541EB", None]
-
-
-multilib_arches = ["x86_64"]
-multilib_methods = [] # devel (recommended), all, base, file, kernel, none, runtime
-
-
-# RUNROOT SETTINGS
-runroot = False
-
-
-# PKGSET
-pkgset_source = "koji" # koji, repos
-
-# PKGSET - REPOS
-# pkgset_repos format: {arch: [repo1_url, repo2_url, ...]}
-# pkgset_repos = {}
-
-# PKGSET - KOJI
-pkgset_koji_path_prefix = "/mnt/brew"
-pkgset_koji_url = "{{ distill.brewhub_url }}"
-pkgset_koji_tag = "ceph-1.3-rhel-7-candidate"
-
-
-# GATHER
-gather_method = "deps" # deps, nodeps
-gather_source = "comps" # comps, json, none
-check_deps = False
-# variant ID regex: arch: packages
-gather_lookaside_repos = [
- ("^.*$", {
- "x86_64": [
- "{{ distill.rhel_7_lookaside_repo_x86_64_url }}",
- "{{ distill.rhel_7_lookaside_repo_src_url }}",
- ],
- }),
-]
-
-
-createrepo_c = True
# The general idea is to make sure we don't run out of disk space on our VM.
-cd /etc/distill/ceph
-run-distill el7-test
+cd /etc/distill/rcm-metadata/distill_ng/ceph
+run-distill test
set -e
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE comps PUBLIC "-//Red Hat, Inc.//DTD Comps info//EN" "comps.dtd">
-<!-- {{ ansible_managed }} -->
-<comps>
- <group>
- <id>calamari</id>
- <name>Red Hat Ceph Calamari</name>
- <description>Red Hat Ceph Calamari packages</description>
- <default>true</default>
- <uservisible>true</uservisible>
- <packagelist>
- <packagereq type="mandatory">calamari-clients</packagereq>
- <packagereq type="mandatory">calamari-servers</packagereq>
- <packagereq type="mandatory">salt-master</packagereq>
- <packagereq type="mandatory">zeromq3-devel</packagereq>
- </packagelist>
- </group>
-
- <group>
- <id>ceph-installer</id>
- <name>Red Hat Ceph Installer</name>
- <description>Red Hat Ceph Installer packages</description>
- <default>true</default>
- <uservisible>true</uservisible>
- <packagelist>
- <packagereq type="mandatory">ceph-deploy</packagereq>
- </packagelist>
- </group>
-
- <group>
- <id>ceph-mon</id>
- <name>Red Hat Ceph Monitor</name>
- <description>Red Hat Ceph Monitor packages</description>
- <default>true</default>
- <uservisible>true</uservisible>
- <packagelist>
- <packagereq type="mandatory">ceph-mon</packagereq>
- <packagereq type="mandatory">diamond</packagereq>
- <packagereq type="mandatory">librados2-devel</packagereq>
- <packagereq type="mandatory">librbd1-devel</packagereq>
- <packagereq type="mandatory">salt-minion</packagereq>
- </packagelist>
- </group>
-
- <group>
- <id>ceph-osd</id>
- <name>Red Hat Ceph OSD</name>
- <description>Red Hat Ceph Object Storage Daemon packages</description>
- <default>true</default>
- <uservisible>true</uservisible>
- <packagelist>
- <packagereq type="mandatory">ceph-osd</packagereq>
- <packagereq type="mandatory">diamond</packagereq>
- <packagereq type="mandatory">librados2-devel</packagereq>
- <packagereq type="mandatory">librbd1-devel</packagereq>
- <packagereq type="mandatory">salt-minion</packagereq>
- </packagelist>
- </group>
-
-</comps>
+++ /dev/null
-#
-# This file is managed by ansible, don't make changes here - they will be overwritten.
-#
-
-[el7]
-config = ceph-1.3-rhel-7.conf
-compose_type = production
-target = /mnt/redhat/devel/candidate-trees
-no_label = 0
-kerberos = 0
-kerberos_keytab = /etc/distill.$HOSTNAME.keytab
-kerberos_principal = distill/$HOSTNAME
-skip_phase =
-just_phase =
-changelogs = 0
-composedb = 0
-notification = 0
-email = kdreyer@redhat.com
-pre_compose_script =
-post_compose_script =
-
-[el7-nightly]
-config = ceph-1.3-rhel-7.conf
-compose_type = nightly
-target = /mnt/redhat/nightly
-no_label = 1
-kerberos = 0
-kerberos_keytab = /etc/distill.$HOSTNAME.keytab
-kerberos_principal = distill/$HOSTNAME
-skip_phase =
-just_phase =
-changelogs = 0
-composedb = 0
-notification = 0
-email = {{ distill.email }}
-pre_compose_script =
-post_compose_script =
-
-[el7-test]
-config = ceph-1.3-rhel-7.conf
-compose_type = test
-target = /var/www/{{ ansible_hostname }}/htdocs/distill/1.3-candidate-trees
-no_label = 1
-kerberos = 0
-kerberos_keytab = /etc/distill.$HOSTNAME.keytab
-kerberos_principal = distill/$HOSTNAME
-skip_phase =
-just_phase =
-changelogs = 0
-composedb = 0
-notification = 0
-email = {{ distill.email }}
-pre_compose_script =
-post_compose_script = compose-create-unified-isos $COMPOSE_PATH
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE variants PUBLIC "-//Red Hat, Inc.//DTD Variants info//EN" "variants.dtd">
-<!-- {{ ansible_managed }} -->
-<variants>
-
- <variant id="Calamari" name="Calamari" type="variant">
- <arches>
- <arch>x86_64</arch>
- </arches>
- <groups>
- <group default="true">calamari</group>
- </groups>
- </variant>
-
- <variant id="Installer" name="Installer" type="variant">
- <arches>
- <arch>x86_64</arch>
- </arches>
- <groups>
- <group default="true">ceph-installer</group>
- </groups>
- </variant>
-
- <variant id="MON" name="Monitor" type="variant">
- <arches>
- <arch>x86_64</arch>
- </arches>
- <groups>
- <group default="true">ceph-mon</group>
- </groups>
- </variant>
-
- <variant id="OSD" name="Object Storage Daemon" type="variant">
- <arches>
- <arch>x86_64</arch>
- </arches>
- <groups>
- <group default="true">ceph-osd</group>
- </groups>
- </variant>
-
-</variants>