summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Encryption: reduce noise from encryption failures when decrypt=laxChris St. Pierre2013-07-152-2/+2
|
* Merge branch 'utf8-fixes' of https://github.com/stgraber/bcfg2 into maintSol Jerome2013-07-121-0/+3
|\
| * Don't crash when a file diff contains utf-8 charsStéphane Graber2013-07-121-0/+3
| | | | | | | | | | | | | | | | | | This fixes a crash when the client tries to render the diff of a file which includes unicode characters. This change assumes that utf-8 is the default encoding, which looking at the rest of the code appears to be a safe bet. Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
* | Merge pull request #114 from igorwidlinski/patch-1Chris St. Pierre2013-07-121-1/+1
|\ \ | |/ |/| Chkconfig should not set service to "on" on every run level
| * Stop adding chkconfig service to every run leveligorwidlinski2013-07-041-1/+1
| | | | | | Let chkconfig assign default runlevels.
* | repoint some trac links to githubDuncan Hutty2013-07-113-3/+3
| |
* | Copy xml elements before appending to tree. This prevents modified entries ↵Tim Laszlo2013-07-101-1/+2
| | | | | | | | from being added
* | Metadata: fixed long lineChris St. Pierre2013-07-091-2/+2
| |
* | Core: Gracefully handle failure to add client without default groupChris St. Pierre2013-07-092-6/+10
| |
* | Core: apply FAM blocking option to all commands that start a serverChris St. Pierre2013-07-096-10/+26
| |
* | RcUpdate: Use get_bootstatusSol Jerome2013-07-081-1/+1
|/ | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* fixed pylintChris St. Pierre2013-07-031-1/+1
|
* Metadata: fixed docstring typoChris St. Pierre2013-07-031-1/+1
|
* bcfg2-test: fixed return valueChris St. Pierre2013-07-031-3/+6
|
* Merge pull request #112 from fennm/bcfg2-chkconfig-use-listChris St. Pierre2013-07-021-2/+2
|\ | | | | Chkconfig: give --list option to chkconfig rather than sending it on stdin
| * Chkconfig: give --list option to chkconfig rather than sending it on stdinMichael Fenn2013-07-021-2/+2
|/
* pep8: fixed testsChris St. Pierre2013-07-021-2/+2
|
* Rewrote bcfg2-crypt.Chris St. Pierre2013-07-021-303/+232
| | | | | | | | | | | | | | This adds several features and generally makes it work a lot more smoothly by not trying to overoptimize and share too much code. You can now brute-force decrypt a Cfg file (i.e., without specifying a passphrase, it will try all of them). You can also now write a Properties file with `encrypted="passphrase_name"` attributes in place, and then encrypt (and decrypt) it in one fell swoop. Various other minor improvements.
* Version bump to 1.3.2v1.3.2Sol Jerome2013-07-0118-22/+35
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Merge branch 'bcfg2-info-builddir-add-owner-write' of ↵Sol Jerome2013-07-011-9/+3
|\ | | | | | | https://github.com/fennm/bcfg2 into maint
| * New approach, just create nwe directories with mode 0755 regardlessMichael Fenn2013-07-011-9/+3
| |
| * Revert "Info: make builddir add owner write permissions to all files"Michael Fenn2013-07-011-4/+0
| | | | | | | | This reverts commit ab62481b597edcc099811039f7fd60743353d979.
| * Revert "Make pylint happy"Michael Fenn2013-07-011-5/+3
| | | | | | | | This reverts commit 8f4a8d386f6f2988de08e686f04c457a62189dfd.
| * Make pylint happyMichael Fenn2013-06-291-3/+5
| |
| * Info: make builddir add owner write permissions to all filesMichael Fenn2013-06-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | Since bcfg2-info isn't normally run as root, it can remove write permissions from itself in certain situations. This patch ensures that owner write is added to the mode for all files written by builddir. For example, suppose a bundle specifies a file /etc/foo/private with mode 0444. The POSIX tool will create /etc/foo with mode 0555. Any subsequent files that are specified to exist in /etc/foo will not be created because bcfg2-info will hit a permission denied error.
* | bcfg2-info: added command timeout optionChris St. Pierre2013-07-011-1/+2
| |
* | doc: fixed typo in Properties automatch docsChris St. Pierre2013-07-011-2/+2
| |
* | debian: cherrypy3 is requiredSol Jerome2013-07-011-1/+1
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Options: Fix typosSol Jerome2013-06-291-1/+1
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Merge branch 'django-db-options' of https://github.com/AlexanderS/bcfg2 into ↵Sol Jerome2013-06-295-4/+52
|\ \ | | | | | | | | | maint
| * | Options: add database.optionsAlexander Sulfrian2013-06-285-4/+30
| | | | | | | | | | | | | | | | | | | | | With the options setting in the database section of the config file various database options for the django database could be set (like ssl mode for postgres). For more information, consult your django databse backend module's documentation.
| * | Opitons: add cook function to parse a dict for the config fileAlexander Sulfrian2013-06-281-0/+22
| | |
* | | Executor: do not split the command line if shell is trueAlexander Sulfrian2013-06-291-1/+3
| |/ |/| | | | | | | | | | | If the command should be excuted within a shell, it should not be splited into a list. If subcommand.Popen gets a list, the first element is the command and all other are the arguements. This breaks the shell evaluation of the commamnd.
* | bcfg2.spec: Remove unnecessary lxml dependencySol Jerome2013-06-281-1/+0
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Merge branch 'python-pre27-compat' of https://github.com/AlexanderS/bcfg2 ↵Sol Jerome2013-06-281-10/+12
|\ \ | | | | | | | | | into maint
| * | Client/Frame: avoid use of lxml-only getparent()Alexander Sulfrian2013-06-291-1/+4
| | | | | | | | | | | | | | | | | | getparent is not supported by xml.etree so try to emulate it with a generated parent_map. This is the only possibility, because xml.etree does not store references to the parent elements.
| * | Revert "Avoid use of lxml-only getparent()"Alexander Sulfrian2013-06-281-10/+9
| |/ | | | | | | This reverts commit 38f55b6257ce51b1cf65ecb3d980d7528c1b53ff.
* | Merge pull request #105 from AlexanderS/missing-format-string-parameterChris St. Pierre2013-06-281-1/+2
|\ \ | |/ |/| Plugins/Packages: add missing format string parameter
| * Plugins/Packages: add missing format string parameterAlexander Sulfrian2013-06-281-1/+2
|/
* TestMetadata: Update tests for resolve_clientSol Jerome2013-06-271-25/+25
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Metadata: Make pylint happySol Jerome2013-06-271-1/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Plugins/Metadata: fix resolution for ipv4-in-ipv6 addresses like ↵Alexander Sulfrian2013-06-271-1/+1
| | | | ::ffff:127.0.0.1
* Chkconfig: Use get_bootstatusSol Jerome2013-06-271-3/+3
| | | | | | | The get_bootstatus method has the correct logic to get the desired result when bootstatus is unset. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Merge pull request #65 from dikim33/maintChris St. Pierre2013-06-261-0/+7
|\ | | | | Make the "latest" value more usable in VCS.py
| * Make the "latest" value of the "revision" attribute update the workingDongInn Kim2013-03-241-0/+7
| | | | | | | | copy only when the working copy is not updated to the latest revision.
* | TemplateHelper: fix traceback with TemplateHelper modules in place and ↵Chris St. Pierre2013-06-261-1/+1
| | | | | | | | --stdin argument to bcfg2-lint
* | Lint: Fix Path type='vcs' schema checksSol Jerome2013-06-261-1/+1
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | bcfg2-test: Move signal handlerSol Jerome2013-06-261-1/+1
| | | | | | | | | | | | | | Code was refactored such that this signal handler got put in the wrong place during the revert. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | bcfg2-test: Fix merge thinkoSol Jerome2013-06-261-5/+4
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Revert "Core: properly handle Ctrl-C"Sol Jerome2013-06-263-13/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 4568c44372c99ba809826e016680da9b881bd8e8. Trying to handle ^c in the core is difficult and can break STDOUT for interactive programs that invoke the core. Signed-off-by: Sol Jerome <sol.jerome@gmail.com> Conflicts: src/lib/Bcfg2/Server/Core.py src/sbin/bcfg2-test tools/bcfg2-profile-templates.py