summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugins
Commit message (Collapse)AuthorAgeFilesLines
* Plugins/Bundler: Insert a BoundBundle for the RequiredBundlesAlexander Sulfrian2018-10-181-1/+1
| | | | The Bundle do not need to be bound by another plugin.
* Plugins/Packages/Pkgng: Ignore unicode errorsAlexander Sulfrian2018-10-181-3/+1
| | | | | | The messages of the packages in the packagesite file may be encoded in any encoding. We only need the dependencies and just ignore the unicode errors.
* Plugins/Packages: Add arbitrary repo options to additional_dataAlexander Sulfrian2018-10-181-0/+2
|
* Add Dummy packages backend and client tool to ignore all packages.Alexander Sulfrian2018-10-182-1/+37
|
* Plugins/Packages/Portage: do not try to update the {var,port}tree instancesAlexander Sulfrian2018-10-181-6/+4
|
* Plugins/Packages/Layman: add support for layman overlaysAlexander Sulfrian2018-10-183-1/+151
| | | | | | In combination with the PortageCollection the Packages plugin could now handle layman overlays. The Portage collection evaluates the dependencies with respect to the configured overlays.
* Plugins/Packages/Portage: add support for per-package flagsAlexander Sulfrian2018-10-181-11/+2
|
* Plugins/PkgVars: support multiple values per packageAlexander Sulfrian2018-10-182-4/+10
| | | | | If multiple values specified for one package all values are joined together in a set.
* Plugins/Packages/Portage: add Packages Plugin for PortageAlexander Sulfrian2018-10-182-1/+337
|
* Plugins/Packages/Collection: add cclass marker for SourcesAlexander Sulfrian2018-10-181-5/+7
| | | | | | | | | | | The classes of Sources could now specify another class for the Collection container. One host could only use one Collection class at a time. So all different Sources have to reference the same Collection. If no "cclass" is defined in the Sources class, the collection class name is generated by striping the "Source" string from the Sources class name like before.
* Packages/Apt: add pin attribute for extra pinning informationAlexander Sulfrian2018-10-181-2/+5
|
* Packages/Apt: add priority to additional_infoAlexander Sulfrian2018-10-181-2/+4
|
* Plugins/PkgVars: new plugin to set various vars per packageAlexander Sulfrian2018-10-184-7/+92
| | | | | | | This plugins allows the setting of varius flags per package. It should be used f.e. to specify pinnings for debian packages or use flags and keywords for gentoo packages (needs to be implemented by future Portage plugin).
* Packages: add priority to sources and sort according to itAlexander Sulfrian2018-10-182-0/+5
|
* Merge branch 'feature/ldap-enhancements' of https://github.com/AlexanderS/bcfg2Sol Jerome2017-08-312-80/+96
|\
| * Server/Plugins/Ldap: Fix module nameAlexander Sulfrian2017-03-211-1/+2
| | | | | | | | | | | | | | | | | | If the module name contains slashes, python will issue an warning: > Ldap/config.py:1: RuntimeWarning: Parent module '__Ldap_/root/repo/Ldap/config' not found while handling absolute import > from Bcfg2.Server.Plugins.Ldap import LdapConnection, LdapQuery So we simply use the basename without the file extension for the module name.
| * Server/Plugins/Ldap: Support arbitrary ldap optionsAlexander Sulfrian2017-03-211-2/+7
| | | | | | | | | | | | You can now set arbitrary ldap option for the connection by specifying a dict with the key and the value. You should use the constants from python-ldap.
| * Server/Plugins/Ldap: Support specifying the ldap uriAlexander Sulfrian2017-03-211-6/+12
| | | | | | | | | | | | | | You can now specify the server to connect by either host (and optionally port) or by specifying the full ldap uri. If you specify host and port the connection will use the plain (unencrypted) ldap protocol by default. Only if you specify the port "636", it will use ldaps now.
| * Server/Plugins/Ldap: Cache the results of the Ldap queriesAlexander Sulfrian2017-03-211-17/+52
| | | | | | | | | | | | | | Using the OnDemandDict removes the results of Ldap queries from the client_metadata cache. We add a new cache per hostname cache for the single ldap queries and add a new configuration option to enable caching until the cache is expired manually via XML-RPC.
| * Server/Plugins/Ldap: Add missing argumentAlexander Sulfrian2017-03-211-1/+2
| |
| * Server/Plugins/Ldap: Use CallableDictAlexander Sulfrian2017-03-211-14/+28
| | | | | | | | | | With the CallableDict the LdapQueries will only be executed, if the values are used.
| * Server/Plugin: Move OnDemandDict to helpersAlexander Sulfrian2017-03-211-49/+3
| | | | | | | | The OnDemandDict could be used by different plugins.
* | Probes: Remove wrong lineAlexander Sulfrian2017-03-221-1/+0
|/ | | | | | This line brakes django detection for the Probes! It resets the global variable just after the detection. This line was left while changing the placement of the detection in fa0d86aba32c40d829f9f94411403221a48283e8.
* Merge pull request #373 from AlexanderS/fix/django1.9/report-collectorAlexander Sulfrian2017-01-102-21/+16
|\ | | | | Fix bcfg2-report-collector for django-1.9
| * DBSettings: Call django.setup() right after configuring the settingsAlexander Sulfrian2016-11-282-21/+16
| | | | | | | | | | | | If required the DBSettings config hook will call django.setup right after configuring django with the required settings. So we can drop the calls to django.setup from all other places.
* | Server/Plugins/NagiosGen: Remove the list conversionAlexander Sulfrian2016-11-231-5/+3
| |
* | Server/Plugins/NagiosGen: Always include default groupAlexander Sulfrian2016-11-231-1/+1
|/ | | | | | | | | The default group file should be included, even if no server is in the 'default' hostgroup. It allows to include global definitions (like a service template). The behaviour is documented and was broken by 590a1314bca44f29fc34bd27f0d49599b7eeab10.
* Merge pull request #368 from solj/fix-ssl-futurewarningAlexander Sulfrian2016-11-211-2/+2
|\ | | | | Cfg: Fix SSLCA key generation
| * Cfg: Fix SSLCA key generationSol Jerome2016-11-181-2/+2
| | | | | | | | | | | | | | The previous check resulted in a "FutureWarning" and also did not work as expected and reset the key values in every case. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Packages: Cleanup pkgnamesAlexander Sulfrian2016-11-173-1/+4
|/ | | | | | The pkgnames should be reset before parsing the source files. If a package was removed for a source, it should be removed from the pkgnames set, too. The packages plugin should look for the next source containing the package.
* Merge branch 'pacman' of https://github.com/0/bcfg2Sol Jerome2016-09-151-14/+128
|\
| * Packages/Pac: Handle groupsDmitri Iouchtchenko2016-09-121-1/+38
| |
| * Packages/Pac: Parse dependenciesDmitri Iouchtchenko2016-09-121-13/+90
| |
* | Packages: Strip ':any' suffix from APT dependenciesDmitri Iouchtchenko2016-09-081-0/+11
|/
* Add support for rawurl in AptRonak Buch2016-08-171-3/+7
|
* Server/Plugins/Ldap: Module should be importable without the python-ldapAlexander Sulfrian2016-08-171-6/+11
|
* Server/Plugins/Metadata: Initialize django _before_ creating modelsAlexander Sulfrian2016-08-171-3/+3
|
* Server/Plugins/Probes: Initialize django before useAlexander Sulfrian2016-08-171-0/+5
|
* Merge pull request #320 from AlexanderS/fix/more-django-fixesAlexander Sulfrian2016-07-171-0/+4
|\ | | | | Some more django fixes
| * 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
| | |
* | | Fix long line.Gordon Messmer2016-04-011-1/+2
| | |
* | | Generate ed25519 keys.Gordon Messmer2016-03-311-1/+7
|/ /
* | Merge branch 'setup-options' of https://github.com/gordonmessmer/bcfg2Sol Jerome2016-03-032-0/+3
|\ \ | |/ |/|