summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/models.py
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2014-11-10 11:42:42 -0600
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2014-11-10 17:35:44 -0600
commitaae0bafb03ee6e986c51436ec749bbadd97a2f7f (patch)
tree387f66dacb7931c1e54a88df02869f6fb4b09cde /src/lib/Bcfg2/Server/models.py
parent669a8fce985164632b41bcac8fef3f52223bac0e (diff)
downloadbcfg2-aae0bafb03ee6e986c51436ec749bbadd97a2f7f.tar.gz
bcfg2-aae0bafb03ee6e986c51436ec749bbadd97a2f7f.tar.bz2
bcfg2-aae0bafb03ee6e986c51436ec749bbadd97a2f7f.zip
Options: Fixed non-path database name parsing
The database name is sometimes a path (SQLite) and sometimes not (MySQL, PostgreSQL). This introduces a new Option type, RepositoryMacroOption, that expands <repository> macros without canonicalizing the path, so SQLite users can use <repository> in their settings but MySQL users' database name settings will not be destroyed by path canonicalization. The unfortunate downside is that SQLite users can't use ~ in their database name.
Diffstat (limited to 'src/lib/Bcfg2/Server/models.py')
0 files changed, 0 insertions, 0 deletions