Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | MultiprocessingCore: Call Debuggable.__init__ on DispatchingCache | Chris St. Pierre | 2013-07-22 | 1 | -2/+1 |
| | |||||
* | MultiprocessingCore: Dispatch metadata cache expiration to children | Chris St. Pierre | 2013-07-22 | 1 | -10/+92 |
| | | | | | | | | | | When the broker in a multiprocessing configuration expires its metadata cache (e.g., when probe data is received), it must dispatch that expiration call to its children. This also makes the protocol for communication between the broker and its children into a real RPC protocol, so we can do even more stuff in the future. | ||||
* | Packages: instantiate Executor before determining path to helper | Chris St. Pierre | 2013-07-22 | 1 | -5/+4 |
| | |||||
* | Packages: Added timeout to bcfg2-yum-helper calls | Chris St. Pierre | 2013-07-22 | 2 | -35/+22 |
| | | | | | | | This involved making the Yum backend use Bcfg2.Utils.Executor to call bcfg2-yum-helper instead of subprocess.Popen directly. This was cherry-picked (kinda) from 3d06f311274d6b942ee89d8cdb13b2ecc99af1b0, so will likely break the maint -> master merge in spectacular ways. | ||||
* | Make the server process always detach, even if started by init | Arto Jantunen | 2013-07-21 | 1 | -1/+2 |
| | | | | | Otherwise startup with systemd in type=forking fails since the daemon will not fork. | ||||
* | Admin/Init: Fix default db location | Sol Jerome | 2013-07-19 | 1 | -1/+1 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Admin/Init: Add listen_all option | Sol Jerome | 2013-07-19 | 1 | -3/+6 |
| | | | | | | Some of these changes were suggested in github issue #29. Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Packages: added lock to yum cache update | Chris St. Pierre | 2013-07-18 | 1 | -0/+13 |
| | |||||
* | Packages: make opportunistic yum cache creation respect metadata=disabled | Chris St. Pierre | 2013-07-18 | 1 | -1/+22 |
| | |||||
* | Yum: Removed unused import | Chris St. Pierre | 2013-07-18 | 1 | -2/+1 |
| | |||||
* | Packages: fixed read-only yum cache | Chris St. Pierre | 2013-07-18 | 1 | -29/+4 |
| | | | | | | Replaced incredibly stupid (mea culpa!) and race-condition-prone system that toggled filesystem permissions (what was I thinking?!?) with judicious application of the yum cacheonly option. | ||||
* | Packages: better stringification/representation of OnDemandDict | Chris St. Pierre | 2013-07-18 | 1 | -1/+1 |
| | |||||
* | Packages: use a separate yum persistdir per cache | Chris St. Pierre | 2013-07-18 | 1 | -0/+1 |
| | |||||
* | Merge branch 'fix-bootstatus' of https://github.com/AlexanderS/bcfg2 into maint | Sol Jerome | 2013-07-17 | 1 | -1/+1 |
|\ | |||||
| * | Bcfg2/Client/Tools: do not get bootstatus directly from the entry | Alexander Sulfrian | 2013-07-17 | 2 | -2/+2 |
| | | | | | | | | | | Bootstatus is optional and should have the value of status if not specified. This is handled by get_bootstatus. | ||||
* | | POSIXUsers: remove usermod -m option, which is too new | Chris St. Pierre | 2013-07-16 | 1 | -1/+0 |
| | | |||||
* | | Core: handle unknown log handlers without names gracefully | Chris St. Pierre | 2013-07-16 | 1 | -3/+8 |
| | | |||||
* | | Packages: added missing docstring | Chris St. Pierre | 2013-07-15 | 1 | -0/+3 |
| | | |||||
* | | Read-only yum cache | Chris St. Pierre | 2013-07-15 | 3 | -27/+122 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes the yum cache read-only so that bcfg2-yum-helper cannot update the cache on the fly, which should help avoid locking issues with the yum caches that can cause client runs to fail. It also makes the Packages plugin behave more consistently, since use of yum libraries won't cause the cache to be refreshed at random times on the fly, but rather more predictably as with the Apt cache or the yum cache without using yum libraries. Unlike those two cases, though, the caches will not all be downloaded initially, but rather opportunistically as needed. In order for this to work, the Bcfg2 server must not run as root. Root ignores the 'w' permissions bit, so the cache cannot be made read-only. | ||||
* | | Encryption: reduce noise from encryption failures when decrypt=lax | Chris St. Pierre | 2013-07-15 | 2 | -2/+2 |
| | | |||||
* | | Merge branch 'utf8-fixes' of https://github.com/stgraber/bcfg2 into maint | Sol Jerome | 2013-07-12 | 1 | -0/+3 |
|\ \ | |||||
| * | | Don't crash when a file diff contains utf-8 chars | Stéphane Graber | 2013-07-12 | 1 | -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-1 | Chris St. Pierre | 2013-07-12 | 1 | -1/+1 |
|\ \ \ | |/ / |/| | | Chkconfig should not set service to "on" on every run level | ||||
| * | | Stop adding chkconfig service to every run level | igorwidlinski | 2013-07-04 | 1 | -1/+1 |
| | | | | | | | | | Let chkconfig assign default runlevels. | ||||
* | | | Copy xml elements before appending to tree. This prevents modified entries ↵ | Tim Laszlo | 2013-07-10 | 1 | -1/+2 |
| | | | | | | | | | | | | from being added | ||||
* | | | Metadata: fixed long line | Chris St. Pierre | 2013-07-09 | 1 | -2/+2 |
| | | | |||||
* | | | Core: Gracefully handle failure to add client without default group | Chris St. Pierre | 2013-07-09 | 2 | -6/+10 |
| | | | |||||
* | | | Core: apply FAM blocking option to all commands that start a server | Chris St. Pierre | 2013-07-09 | 1 | -5/+21 |
| | | | |||||
* | | | RcUpdate: Use get_bootstatus | Sol Jerome | 2013-07-08 | 1 | -1/+1 |
|/ / | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | | Metadata: fixed docstring typo | Chris St. Pierre | 2013-07-03 | 1 | -1/+1 |
| | | |||||
* | | Chkconfig: give --list option to chkconfig rather than sending it on stdin | Michael Fenn | 2013-07-02 | 1 | -2/+2 |
| | | |||||
* | | pep8: fixed tests | Chris St. Pierre | 2013-07-02 | 1 | -2/+2 |
| | | |||||
* | | Version bump to 1.3.2v1.3.2 | Sol Jerome | 2013-07-01 | 2 | -2/+2 |
| | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | | Merge branch 'bcfg2-info-builddir-add-owner-write' of ↵ | Sol Jerome | 2013-07-01 | 1 | -9/+3 |
|\ \ | | | | | | | | | | https://github.com/fennm/bcfg2 into maint | ||||
| * | | New approach, just create nwe directories with mode 0755 regardless | Michael Fenn | 2013-07-01 | 1 | -9/+3 |
| | | | |||||
* | | | Options: Fix typos | Sol Jerome | 2013-06-29 | 1 | -1/+1 |
| | | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | | | Merge branch 'django-db-options' of https://github.com/AlexanderS/bcfg2 into ↵ | Sol Jerome | 2013-06-29 | 2 | -3/+35 |
|\ \ \ | |_|/ |/| | | | | | maint | ||||
| * | | Options: add database.options | Alexander Sulfrian | 2013-06-28 | 2 | -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 file | Alexander Sulfrian | 2013-06-28 | 1 | -0/+22 |
| | | | |||||
* | | | Executor: do not split the command line if shell is true | Alexander Sulfrian | 2013-06-29 | 1 | -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 Jerome | 2013-06-28 | 1 | -10/+12 |
|\ \ | | | | | | | | | | into maint | ||||
| * | | Client/Frame: avoid use of lxml-only getparent() | Alexander Sulfrian | 2013-06-29 | 1 | -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 Sulfrian | 2013-06-28 | 1 | -10/+9 |
| |/ | | | | | | | This reverts commit 38f55b6257ce51b1cf65ecb3d980d7528c1b53ff. | ||||
* / | Plugins/Packages: add missing format string parameter | Alexander Sulfrian | 2013-06-28 | 1 | -1/+2 |
|/ | |||||
* | Metadata: Make pylint happy | Sol Jerome | 2013-06-27 | 1 | -1/+2 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Plugins/Metadata: fix resolution for ipv4-in-ipv6 addresses like ↵ | Alexander Sulfrian | 2013-06-27 | 1 | -1/+1 |
| | | | | ::ffff:127.0.0.1 | ||||
* | Chkconfig: Use get_bootstatus | Sol Jerome | 2013-06-27 | 1 | -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/maint | Chris St. Pierre | 2013-06-26 | 1 | -0/+7 |
|\ | | | | | Make the "latest" value more usable in VCS.py | ||||
| * | Make the "latest" value of the "revision" attribute update the working | DongInn Kim | 2013-03-24 | 1 | -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. Pierre | 2013-06-26 | 1 | -1/+1 |
| | | | | | | | | --stdin argument to bcfg2-lint |