diff options
author | Jan Pokorný <jpokorny@redhat.com> | 2015-04-15 13:12:33 +0200 |
---|---|---|
committer | Jan Pokorný <jpokorny@redhat.com> | 2015-04-15 15:26:22 +0200 |
commit | 8925ae6c258df81cb64f043ab1ac0898a7efd059 (patch) | |
tree | 6ce14a18943ffd71ecc76ea0045b831c6c8e4fdc /utils_cman.py | |
parent | 20926d4f5f1b37f14ff49dbae540d585942a3918 (diff) | |
download | clufter-8925ae6c258df81cb64f043ab1ac0898a7efd059.tar.gz clufter-8925ae6c258df81cb64f043ab1ac0898a7efd059.tar.xz clufter-8925ae6c258df81cb64f043ab1ac0898a7efd059.zip |
commands/ccs2pcs+utils_cman: symbolic PATH_CLUSTERCONF
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Diffstat (limited to 'utils_cman.py')
-rw-r--r-- | utils_cman.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/utils_cman.py b/utils_cman.py index 6f9bb18..7725739 100644 --- a/utils_cman.py +++ b/utils_cman.py @@ -1,10 +1,12 @@ # -*- coding: UTF-8 -*- -# Copyright 2014 Red Hat, Inc. +# Copyright 2015 Red Hat, Inc. # Part of clufter project # Licensed under GPLv2+ (a copy included | http://gnu.org/licenses/gpl-2.0.txt) """CMAN helpers, mainly used in the filter definitions""" __author__ = "Jan Pokorný <jpokorny @at@ Red Hat .dot. com>" +PATH_CLUSTERCONF = '/etc/cluster/cluster.conf' + def get_nodes(etree): return etree.xpath('/cluster/clusternodes/clusternode') |