summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* redhat init scripts: Update to be more like the debian scriptsJohn Morris2012-09-032-43/+28
| | | | | | | | | | | | | | Fixing this script for RedHat; its advantage over the Debian script is the dependency on lsb drags in quite a number of extra, otherwise- unneeded packages. - Remove agent functions from bcfg2.init - Add success || failure messages - Include options from /etc/sysconfig/bcfg2* - Other snippets from debian script (cherry picked from commit 4034d6e503f1543223355f7aceb6aefd933fabb3) Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* 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>
* bcfg2.spec: Fix django dep on OpenSUSE (#1124)Christopher 'm4z' Holm2012-09-031-1/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Fix bashisms in cron jobs.Andy Brody2012-09-022-6/+6
| | | | http://mywiki.wooledge.org/Bashism
* testsuite: Fix Path type='device' testsSol Jerome2012-09-021-4/+4
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* POSIX/Device: Change perms back to modeSol Jerome2012-09-023-2/+5
| | | | | | | | 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
|
* doc: Fix code-block directiveSol Jerome2012-08-311-4/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Version bump to 1.3.0pre1Sol Jerome2012-08-3114-17/+29
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* deprecated Account and HostbaseChris St. Pierre2012-08-312-0/+2
|
* export.py: handle RPM changelogs, new Bcfg2/version.py; fixed some pathsChris St. Pierre2012-08-311-2/+46
|
* deprecated info/:info, .cat, and .diff filesChris St. Pierre2012-08-314-1/+12
|
* deprecated Statistics, SnapshotsChris St. Pierre2012-08-312-1/+2
|
* install new POSIX, FileMonitor subpackages in setup.pyChris St. Pierre2012-08-311-0/+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-292-3/+7
|
* 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-2762-66/+69
|
* POSIX: fixed setting handled entriesChris St. Pierre2012-08-271-2/+7
|
* Docs: cleaned up SSLCA docsChris St. Pierre2012-08-271-113/+159
|
* 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-272-14/+47
|
* Packages: made url_map consistent across all source typesChris St. Pierre2012-08-275-77/+64
|
* Merge https://github.com/dikim33/bcfg2Sol Jerome2012-08-261-1/+8
|\
| * Remove the primary group from the list of extra_groupsDongInn Kim2012-08-261-1/+8
| |