summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Metadata: fixed category suppression, warnings about category suppressionChris St. Pierre2012-09-041-23/+25
|
* fully process decision lists and pre- actions in dryrun mode (#1052)Chris St. Pierre2012-09-041-1/+1
|
* Options.py: Preserve config file option name caseJohn Morris2012-09-031-0/+5
| | | | | | | | | | | | | | | | | | | | | See this link: http://docs.python.org/library/configparser.html#ConfigParser.RawConfigParser.optionxform By default, RawConfigParser squashes option names to lower case. The ZBCA plugin, before plugin configuration was moved from data directories to /etc/bcfg2.conf, relied on option name case to be preserved because X509v3 extension names use mixed case. Moving the ZBCA config into bcfg2.conf breaks the plugin because pyOpenSSL no longer recognizes the extension names. This patch causes RawConfigParser to preserve option name case. This is anticipated to break things if users have placed upper-case characters in config file option names. (cherry picked from commit 043706ab10034461f64a53060d8ba54f278c2e0c) Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* settings: Fix django webapp for 1.4 (#1121)Sol Jerome2012-09-031-2/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* POSIX/Device: Change perms back to modeSol Jerome2012-09-021-2/+2
| | | | | | | | Change our terminology to match that used by MKNOD(1). This makes the client tool behave as it did previously. Also, add 'mode' to the schema to make `bcfg2-lint` happy. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* bcfg2-lint: fix terminal text wrapping (from John Morris)Chris St. Pierre2012-09-011-3/+3
|
* bcfg2-lint: fix lint plugin list (from John Morris)Chris St. Pierre2012-09-011-3/+2
|
* bcfg2-lint: allow relative symlinks (from John Morris)Chris St. Pierre2012-09-011-1/+4
|
* Version bump to 1.3.0pre1Sol Jerome2012-08-312-2/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* deprecated Account and HostbaseChris St. Pierre2012-08-312-0/+2
|
* deprecated info/:info, .cat, and .diff filesChris St. Pierre2012-08-314-1/+12
|
* deprecated Statistics, SnapshotsChris St. Pierre2012-08-312-1/+2
|
* fixed walk_packages implementation for py2.4Chris St. Pierre2012-08-311-0/+2
|
* Metadata: only write client version to clients.xml/database if it has changedChris St. Pierre2012-08-301-6/+6
|
* bcfg2-admin: sort perf outputChris St. Pierre2012-08-301-3/+4
|
* SSHbase: Fix known_hosts generationSol Jerome2012-08-301-1/+1
| | | | | | | Looks like s.data is already an 'str' object (in py3k) so the decode won't work. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Metadata: Fix byte string comparison in py3kSol Jerome2012-08-301-0/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Packages: fix Collection.cachekey() on py3kChris St. Pierre2012-08-301-1/+1
|
* fixed cherrypy server core shutdownChris St. Pierre2012-08-301-0/+1
|
* Core: collect more performance statisticsChris St. Pierre2012-08-304-36/+76
|
* Properties: Ignore schema filesSol Jerome2012-08-291-0/+1
| | | | | | | This prevents us from spamming the logs when the user has corresponding schema files. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* bcfg2-admin: Fix query modeSol Jerome2012-08-291-1/+1
| | | | | | Access to metadata.clients changed in 8b438fda. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* bcfg2-admin: Fix traceback in client modeSol Jerome2012-08-291-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* made bcfg2-admin perf work againChris St. Pierre2012-08-293-16/+19
|
* cruft cleanup: removed ComponentChris St. Pierre2012-08-292-269/+1
|
* bcfg2-reports: Point to new settings fileSol Jerome2012-08-291-2/+2
| | | | | | The location of the db settings was changed in 8b438fd. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* fixed base64 encoding of non-ascii stringsChris St. Pierre2012-08-291-3/+6
|
* Cfg: clarified genshi errorsChris St. Pierre2012-08-291-4/+5
|
* Compat: added all() for py2.4Chris St. Pierre2012-08-282-14/+11
|
* MetadataQuery: warn if a string is used as argument to ↵Chris St. Pierre2012-08-281-2/+20
| | | | by_groups/by_profiles/etc. instead of a list
* Options: misc. minor fixesChris St. Pierre2012-08-281-2/+7
|
* Bcfg2.settings: Fixed config file reading:Chris St. Pierre2012-08-283-18/+28
| | | | | | | | | | | | | | | | | | | | * If -W is given on the command line, the config file given by -W is read. * If /etc/bcfg2-web.conf does not exist, and -C was given on the command line, the config file given by -C is read. * If /etc/bcfg2-web.conf does not exist and -C was not given on the command line, the default /etc/bcfg2.conf is read. * If /etc/bcfg2-web.conf exists, and neither -W nor -C was given on the command line, then /etc/bcfg2-web.conf is read. This will produce errors if: * A bogus (non-existent, unreadable) file was given by -W; or * A bogus file was given by -C and /etc/bcfg2-web.conf does not exist; or * No -W was given and /etc/bcfg2-web.conf exists but is unreadable; or * No -W was given, /etc/bcfg2-web.conf does not exist, and /etc/bcfg2.conf is bogus.
* better stringification of Option objectsChris St. Pierre2012-08-281-2/+25
|
* SELinux: more tool fixes for old-n-busted RHEL 5Chris St. Pierre2012-08-281-17/+102
|
* added better common walk_packages implementation for python 2.4 and 2.5Chris St. Pierre2012-08-275-77/+99
| | | | | | Conflicts: src/lib/Bcfg2/Client/Tools/__init__.py
* renamed Bcfg2Py3k to CompatChris St. Pierre2012-08-2752-52/+55
|
* POSIX: fixed setting handled entriesChris St. Pierre2012-08-271-2/+7
|
* SSLCA: removed redundant verify_certs optionChris St. Pierre2012-08-271-1/+2
|
* SSLCA: added root_ca option to verify certs against either intermediate or ↵Chris St. Pierre2012-08-271-5/+13
| | | | root CA
* fixed import/usage of MetadataConsistencyErrorChris St. Pierre2012-08-273-6/+5
|
* Packages: added support for generating Apt sources.listChris St. Pierre2012-08-271-0/+15
|
* Packages: made url_map consistent across all source typesChris St. Pierre2012-08-275-77/+64
|
* fixed handling of SEModules with multiple specific modulesChris St. Pierre2012-08-241-2/+2
|
* TemplateHelper: removed support for host- and group-specific helpersChris St. Pierre2012-08-241-48/+31
| | | | | | | | | | Supporting these was basically impossible due to the way Python handles bytecode compilation. For instance, 'foo.py.G10_bar' would be compiled to foo.py.G10_barc, which is then indistinguishable from a helper for the group "barc" (or, rather, a _broken_ helper for that group, since a bytecode-compiled module cannot be imported successfully). There's no performance gain from specific helpers anyway -- they all get imported -- so I removed this functionality.
* DirectoryBacked: add class attribute to ignore certain patternsChris St. Pierre2012-08-241-0/+5
|
* DirectoryBacked/XMLDirectoryBacked: honor "patterns" class attributeChris St. Pierre2012-08-241-2/+5
|
* fix duplicate repo name infinite loopChris St. Pierre2012-08-231-1/+1
|
* bcfg2-info: fixed Collection.sourcelist arch filterChris St. Pierre2012-08-231-0/+2
|
* bcfg2-info: packagessources/packageresolve fail gracefully if Packages ↵Chris St. Pierre2012-08-231-0/+6
| | | | plugin not enabled
* SchemaUpdater: fix sorting of updatersTim Laszlo2012-08-231-1/+2
| | | | | The updaters were not getting sorted when a new database was created this caused the wronger version to be set on a new database