summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #320 from AlexanderS/fix/more-django-fixesAlexander Sulfrian2016-07-173-2/+6
|\ | | | | Some more django fixes
| * Reporting/templates: Remove deprecated syntaxAlexander Sulfrian2015-11-171-1/+1
| | | | | | | | | | | | > Deprecated since version 1.8: > You can also pass a dotted Python path to a view function, but this > syntax is deprecated and will be removed in Django 1.10.
| * Reporting/templates: Fix django1.5 compatAlexander Sulfrian2015-11-171-1/+1
| | | | | | | | This was missing in 84a83cab07853b83e91c40c440f65b911e3296a5.
| * Metadata: Add fix for django1.7Alexander Sulfrian2015-11-171-0/+4
| | | | | | | | | | The Metadata database backend also uses django1.7 and we have to run django.setup() here, too.
* | Merge branch 'yum-helper-2' of https://github.com/gordonmessmer/bcfg2Sol Jerome2016-07-102-26/+28
|\ \
| * | Set value for data in case accept_input is false.Gordon Messmer2016-04-211-1/+2
| | |
| * | Bcfg2.Options.Subcommand must not access Options.setup in __init__.Gordon Messmer2016-04-211-8/+14
| | |
| * | Only read input if accept_input is True.Gordon Messmer2016-04-211-7/+8
| | |
| * | Remove PositionalArgument. It was incomplete and did not work as intended, ↵Gordon Messmer2016-04-211-4/+1
| | | | | | | | | | | | requiring two positional args instead of one.
| * | Fix format error in logger call.Gordon Messmer2016-04-211-2/+2
| | |
| * | Handle rid intelligently, to avoid infinite loop.Gordon Messmer2016-04-211-5/+2
| | |
* | | Merge branch 'input-2' of https://github.com/gordonmessmer/bcfg2Sol Jerome2016-07-071-1/+1
|\ \ \
| * | | Don't use 'input' function under python2.Gordon Messmer2016-06-291-1/+1
| |/ /
* | | Merge branch 'ed25519' of https://github.com/gordonmessmer/bcfg2Sol Jerome2016-05-121-1/+8
|\ \ \
| * | | Fix long line.Gordon Messmer2016-04-011-1/+2
| | | |
| * | | Generate ed25519 keys.Gordon Messmer2016-03-311-1/+7
| |/ /
* / / doc: Update Arch Linux name and package informationJonathan Steel2016-03-301-1/+1
|/ / | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Merge branch 'setup-options' of https://github.com/gordonmessmer/bcfg2Sol Jerome2016-03-037-9/+13
|\ \
| * | Set ssl_cns option to the expected name in setup.Gordon Messmer2016-02-221-0/+1
| | |
| * | Correct the name of the service_mode option.Gordon Messmer2016-02-172-5/+5
| | |
| * | Correct the name of the server's location option.Gordon Messmer2016-02-172-4/+4
| | |
| * | Add dest= arg to fix option that is referenced as cfg_validation.Gordon Messmer2016-02-171-0/+1
| | |
| * | Add dest= arg to fix LDAP options.Gordon Messmer2016-02-171-0/+2
| | |
* | | Merge branch 'fix/lint-templatehelper' of https://github.com/AlexanderS/bcfg2Sol Jerome2016-01-271-1/+1
|\ \ \
| * | | Lint/TemplateHelper: Fix parametersAlexander Sulfrian2015-11-181-1/+1
| | |/ | |/| | | | | | | | | | | | | | | | The HelperModules of the TemplateHelper now expects a second argument with the core, to be able to expire the metadata cache. This is a fix-up for 36b2aa66627a4cc147f982d03688ae9df14bbe08.
* | | Merge branch 'rpm-install-missing' of https://github.com/gordonmessmer/bcfg2Sol Jerome2016-01-271-1/+1
|\ \ \
| * | | Fix reference to rpm_install_missing option.Gordon Messmer2016-01-191-1/+1
| | |/ | |/|
* | | Merge branch 'client-secontext' of https://github.com/gordonmessmer/bcfg2Sol Jerome2016-01-201-2/+2
|\ \ \
| * | | Only set wanted_secontext if we have a value to setGordon Messmer2015-11-191-1/+1
| | | |
| * | | bcfg2 server sends a complete SELinux context, but we only need the type. ↵Gordon Messmer2015-11-181-1/+1
| |/ / | | | | | | | | | Treat this the same as selinux.matchpathcon.
* | | Merge branch 'tests-secontext' of https://github.com/gordonmessmer/bcfg2Sol Jerome2016-01-202-2/+2
|\ \ \
| * | | Fix SELinux option parsing.Gordon Messmer2015-11-192-2/+2
| |/ /
* | / Client/Tools: Fix error if no pkg handledAlexander Sulfrian2015-11-172-2/+2
| |/ |/| | | | | | | | | | | | | | | | | | | | | Install() of a client tool returns the changed states as dict, that will update the global state. If nothing is handled withing a tool, it have to return an empty dict and not None because the return value is directly used as argument for update: > APT.Install() call failed: > Traceback (most recent call last): > File "/usr/lib/python2.7/dist-packages/Bcfg2/Client/__init__.py", line 739, in DispatchInstallCalls > self.states.update(tool.Install(handled)) > TypeError: 'NoneType' object is not iterable
* | Version bump to 1.4.0pre2Sol Jerome2015-11-132-2/+2
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Merge pull request #301 from AlexanderS/feature/systemd-extraChris St. Pierre2015-10-201-0/+14
|\ \ | | | | | | Client/Tools/Systemd: Find extra entries
| * | Client/Tools/Systemd: Find extra entriesAlexander Sulfrian2015-07-271-0/+14
| | | | | | | | | | | | Add FindExtra to get a listing of all extra systemd entries.
* | | Info: EventDebug, Update and Quit are now command classesAlexander Sulfrian2015-10-131-17/+26
| | |
* | | Options: Add possibility to have aliases for commandsAlexander Sulfrian2015-10-131-12/+20
| | | | | | | | | | | | | | | | | | | | | You can add now a list of aliases to a Subcommand to make it available with different names. Each alias in the list is used without modification, especially the aliases do not get converted to lower case (this is for example required for "EOF").
* | | DefaultACL: Deny remote access to expire_metadata_cacheAlexander Sulfrian2015-10-131-1/+2
| | |
* | | Info: expirecache only for interactive shellAlexander Sulfrian2015-10-131-0/+1
| | | | | | | | | | | | | | | The expirecache subcommand is only usefull from an interactive shell, so do not advertise it in the help from the commandline.
* | | Info: Fix expirecache subcommandAlexander Sulfrian2015-10-131-5/+4
| | | | | | | | | | | | The expirecache subcommand was using an old API.
* | | Options: Add possibility to have interactive only SubcommandsAlexander Sulfrian2015-10-131-5/+14
| | | | | | | | | | | | | | | | | | | | | Some subcommands only makes sense, if they are called from an interactive shell and to interface a running server. Now we can mark a Subcommand as only_interactive and it will not be callable as argument from the command line.
* | | Info: Fix bcfg2-info shellAlexander Sulfrian2015-10-131-25/+47
| | |
* | | Options: Really reparse the argument list of SubcommandsAlexander Sulfrian2015-10-131-0/+1
| | | | | | | | | | | | | | | | | | We change the parser namespace so contain all the global flags. So we silently erase the parser cache and have to set the parsed flag, so that the Parser does not use our "empty" new namespace as cached result.
* | | Admin: Add expirecache commandAlexander Sulfrian2015-10-132-0/+34
| | | | | | | | | | | | | | | | | | | | | Expirecache is now part of bcfg2-admin and will call expire_metadata_cache from Core via XML-RPC. This will expire the metadata cache of the supplied clients (or the complete cache if no arguments are supplied) on a running bcfg2-server.
* | | Merge pull request #309 from AlexanderS/fix/report-filtersChris St. Pierre2015-10-131-12/+31
|\ \ \ | | | | | | | | Reporting: Do not fail, if no interactions found
| * | | Reporting: Do not fail, if no interactions foundAlexander Sulfrian2015-09-181-12/+31
| | |/ | |/| | | | | | | | | | | | | With the filter feature of bcfg2-reports it is possible that all interactions of a client gets filtered. Now we simply skip those clients without interactions and do not fail with an exception.
* | | Merge pull request #299 from AlexanderS/fix/cachingChris St. Pierre2015-10-058-23/+76
|\ \ \ | | | | | | | | Expire metadata cache in all Connector plugins.
| * | | Properties: Expire the metadata cache during reload of the filesAlexander Sulfrian2015-07-271-11/+30
| | | |
| * | | Probes: Use core.metadata_cache instead of Bcfg2.Server.CacheAlexander Sulfrian2015-07-271-7/+8
| | | |