summaryrefslogtreecommitdiffstats
path: root/filters/ccs2ccs_pcmk.py
blob: c4cf34a9dd1b8a4ef160db37a8f6262a38429154 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# -*- coding: UTF-8 -*-
# Copyright 2015 Red Hat, Inc.
# Part of clufter project
# Licensed under GPLv2+ (a copy included | http://gnu.org/licenses/gpl-2.0.txt)
"""ccs2ccs-pcmk filter"""
__author__ = "Jan Pokorný <jpokorny @at@ Red Hat .dot. com>"

from ..filter import XMLFilter


# could be static output, but stay with XSLT in case we want to move sth.
# from cluster.conf to corosync.conf already (used to be a case);
# there is also a possibility to put service-only directive
# as a file under /etc/corosync/service.d/ (called, e.g., pcmk,
# see Clusters from Scratch document)
@XMLFilter.deco_xslt('ccs', 'ccs')
class ccs2ccs_pcmk: pass