summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugins
Commit message (Collapse)AuthorAgeFilesLines
* Server/Plugin: Move OnDemandDict to helpersAlexander Sulfrian2017-03-211-49/+3
| | | | The OnDemandDict could be used by different plugins.
* 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
|\ \ | |/ |/|
| * 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 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
| | |
| * | AWSTags: Expire metadata cache at start of client runAlexander Sulfrian2015-07-271-0/+5
| | | | | | | | | | | | | | | | | | | | | AWSTags cannot know whether the tags change, so it cannot expire the metadata cache correctly. Instead we have to expire the cache at beginning of each client run. This practically disables agressive client metadata caching, so we print a warning.
| * | PuppetENC: Fix cache expirationAlexander Sulfrian2015-07-271-1/+1
| | | | | | | | | | | | This was maybe missing in 38f3cfcfd.
| * | GroupLogic: Expire metadata cache on config file changesAlexander Sulfrian2015-07-271-1/+12
| | |
| * | SSHbase: Expire metadata cache on pubkey eventAlexander Sulfrian2015-07-271-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | SSHbase supply the public keyfiles as additional metadata, so we need to expire the metadata cache if we get an event for such file. We would only need to expire the metadata cache for hosts, that reference that exact file (host or group specific) but we cannot get this information, so that we simply expire the metadata cache for all hosts.
| * | Ohai: Expire metadata cache, if ohai data changesAlexander Sulfrian2015-07-271-1/+6
| | |
| * | TemplateHelper: Expire metadata cache on FileMonitor eventAlexander Sulfrian2015-07-271-2/+10
| | |
* | | Merge branch 'fix/django1.7' of https://github.com/AlexanderS/bcfg2Sol Jerome2015-10-011-6/+9
|\ \ \
| * | | Reporting: Clear error message if django is missingAlexander Sulfrian2015-09-231-8/+7
| | | |
| * | | fix check for reporting in src/lib/Bcfg2/Server/Plugins/Reporting.pyJonas Jochmaring2015-09-231-7/+11
| | |/ | |/|
* / | Bundler: Fix addition of bundle.Alexander Sulfrian2015-09-301-1/+1
|/ / | | | | | | bundles is a set and does only have add() but not append().
* | Compatibility with Jinja < 2.7.Gordon Messmer2015-09-091-3/+9
| |
* | Keep trailing newlines in Jinja2 templates.Gordon Messmer2015-09-091-1/+3
| |
* | Merge branch 'rules-replace_name' of https://github.com/AlexanderS/bcfg2Sol Jerome2015-09-012-2/+37
|\ \
| * | Rules: New options replace_name to replace %{name} in attributesAlexander Sulfrian2015-08-262-2/+37
| |/ | | | | | | | | | | | | | | | | | | | | | | | | If you use the regex feature of Rules/Defaults you may need the real name of the matched entry in an attribute (for example home of POSIXUser). You can now enable replace_name for rules or defaults and %{name} will be replaces in the attribues of the Element before adding them to the target entry. This allows you to write something like that in Defaults to assing a default home directory somewhere else to all users with unset home: <POSIXUser name='.*' home='/somewhere/%{name}'/>
* | Merge branch 'no-jinja2' of https://github.com/AlexanderS/bcfg2Sol Jerome2015-07-281-14/+15
|\ \
| * | Plugins/Cfg: Don't depend on jinja2Alexander Sulfrian2015-07-201-14/+15
| |/ | | | | | | | | If jinja2 is not available, we cannot use some classes. So the access to these classes have to be dependent on the available of jinja2.
* | Ldap: Complete renew of the Ldap pluginAlexander Sulfrian2015-07-241-165/+159
| |