summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2008-10-31 15:39:54 +0000
committerNarayan Desai <desai@mcs.anl.gov>2008-10-31 15:39:54 +0000
commit87af246a7de31b0a2db66bdd7c14ad79510185ba (patch)
tree4d909e1efd9f66cc9f0f14907aa3132122b0153e
parent20a3fd2bed26dd6f43d8f5e09d89038e3ce9efb5 (diff)
downloadbcfg2-87af246a7de31b0a2db66bdd7c14ad79510185ba.tar.gz
bcfg2-87af246a7de31b0a2db66bdd7c14ad79510185ba.tar.bz2
bcfg2-87af246a7de31b0a2db66bdd7c14ad79510185ba.zip
Fix file name generation in Cfg support for bcfg-admin pull
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4957 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r--src/lib/Server/Plugins/Cfg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Cfg.py b/src/lib/Server/Plugins/Cfg.py
index 6d53eefd1..02067843d 100644
--- a/src/lib/Server/Plugins/Cfg.py
+++ b/src/lib/Server/Plugins/Cfg.py
@@ -99,7 +99,7 @@ class CfgEntrySet(Bcfg2.Server.Plugin.EntrySet):
if specific.all:
return bfname
elif specific.group:
- return "%s.G%d_%s" % (bfname, specific.group, specific.prio)
+ return "%s.G%d_%s" % (bfname, specific.prio, specific.group)
elif specific.hostname:
return "%s.H_%s" % (bfname, specific.hostname)