diff options
author | Sol Jerome <sol.jerome@gmail.com> | 2011-10-11 12:24:17 -0500 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2011-10-11 12:24:54 -0500 |
commit | a86b6a9e070aa83e5accb053e42e67ae39717300 (patch) | |
tree | 2f9bdd0a81aefe3af8ade06f5bcc8f849145649c /src/lib/Server | |
parent | 04357a038df239c23564a1da419d75bf8893605b (diff) | |
download | bcfg2-a86b6a9e070aa83e5accb053e42e67ae39717300.tar.gz bcfg2-a86b6a9e070aa83e5accb053e42e67ae39717300.tar.bz2 bcfg2-a86b6a9e070aa83e5accb053e42e67ae39717300.zip |
Cfg: Use two-digit group priorities
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'src/lib/Server')
-rw-r--r-- | src/lib/Server/Plugins/Cfg.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Cfg.py b/src/lib/Server/Plugins/Cfg.py index 2c0c69926..beea2c747 100644 --- a/src/lib/Server/Plugins/Cfg.py +++ b/src/lib/Server/Plugins/Cfg.py @@ -196,7 +196,7 @@ class CfgEntrySet(Bcfg2.Server.Plugin.EntrySet): if specific.all: return bfname elif specific.group: - return "%s.G%d_%s" % (bfname, specific.prio, specific.group) + return "%s.G%02d_%s" % (bfname, specific.prio, specific.group) elif specific.hostname: return "%s.H_%s" % (bfname, specific.hostname) |