summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Version bump to 1.3.2v1.3.2Sol Jerome2013-07-012-2/+2
| | | | 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
| |
* | 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-292-3/+35
|\ \ | | | | | | | | | maint
| * | Options: add database.optionsAlexander Sulfrian2013-06-282-3/+13
| | | | | | | | | | | | | | | | | | | | | 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.
* | 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.
* / Plugins/Packages: add missing format string parameterAlexander Sulfrian2013-06-281-1/+2
|/
* 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-262-13/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Chkconfig: Set svcstatusSol Jerome2013-06-251-0/+1
| | | | | | | | | | | | | | When status='ignore', set svcstatus to True so that the entry verifies properly. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | bcfg2-info: Remove nonexistent optionSol Jerome2013-06-211-1/+0
| | | | | | | | | | | | This option was removed in f157617a5c. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Utils: PackedDigitRange __len__() breaks with open-ended rangesChris St. Pierre2013-06-191-3/+0
| |
* | Core: rewrite $HOME after dropping privsChris St. Pierre2013-06-191-0/+6
| |
* | Yum: fixed logging bcfg2-yum-helper error outputChris St. Pierre2013-06-191-1/+3
| |
* | Client/Tools/VCS: fix symlink handlingAlexander Sulfrian2013-06-191-1/+1
| |
* | Merge branch 'client-tool-vcs' of https://github.com/AlexanderS/bcfg2 into maintSol Jerome2013-06-181-27/+85
|\ \
| * | Client/Tools/VCS: build index after checkoutAlexander Sulfrian2013-06-181-9/+38
| | |
| * | Client/Tools/VCS: add support for symlinksAlexander Sulfrian2013-06-181-4/+17
| | |
| * | Client/Tools/VCS: some simplyfications using dulwich apiAlexander Sulfrian2013-06-181-12/+8
| | |
| * | Client/Tools/VCS: add always on top featureAlexander Sulfrian2013-06-181-5/+24
| | | | | | | | | | | | | | | | | | | | | You can specify a refname (like refs/heads/master) as revision and you will always get the current tree of this refname. During verify it is checked if the ref had changed in the remote repo and if an "update" is necessary.
| * | Client/Tools/VCS: create directory for repositoryAlexander Sulfrian2013-06-181-1/+2
| | | | | | | | | | | | | | | | | | | | | Older version of dulwich will not create the directory (even with mkdir=True) for the repository. So we cannot rely on it. Because we clean existing folders before, we have to create the directory in every case.
* | | Server/Admin/Syncdb: add missing importAlexander Sulfrian2013-06-181-0/+1
|/ /
* | Svn: Fixing pep8 checkJason Kincl2013-06-171-0/+1
| |
* | Probes: Fixing Django exception importJason Kincl2013-06-171-1/+2
| |
* | Svn: Fixing pep8 and pylint checksJason Kincl2013-06-171-10/+13
| |
* | Svn: Tidying up code and logging of subversion trust and user/pass optionsJason Kincl2013-06-171-8/+15
| |
* | Svn: Adding config options for specifying a user and password for subversion ↵Jason Kincl2013-06-171-0/+28
| | | | | | | | and to trust server SSL certificates
* | Reporting: Fix traceback when run interactivelySol Jerome2013-06-171-2/+4
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Probes: no need to .save() after .get_or_create()Chris St. Pierre2013-06-171-1/+1
| |
* | Merge pull request #97 from AlexanderS/action-add-shell-flagChris St. Pierre2013-06-171-4/+12
|\ \ | | | | | | Client/Tools/Action: add shell attribute
| * | Client/Tools/Action: add shell attributeAlexander Sulfrian2013-06-141-4/+12
| | | | | | | | | | | | | | | Add an option to specify whether a command should be executed within a shell to enable flow control and other shell-specific syntax.
* | | Compat: Fix u_str for PY3KSol Jerome2013-06-161-4/+1
|/ / | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>