X-Git-Url: https://git.tokkee.org/?p=sysdb.git;a=blobdiff_plain;f=src%2Fbackend%2Fpuppet%2Fstore-configs.c;fp=src%2Fbackend%2Fpuppet%2Fstore-configs.c;h=c2f4d084048c71fbccb945b4f38dd753fda24d8d;hp=0f95ae51e00f22cbca9d11057eaf489b2282e9da;hb=1a9933488f9e7babf6c538393cc69c636efca2ed;hpb=cf17313d62dcf1c10df0fe19287e354ede68206b diff --git a/src/backend/puppet/store-configs.c b/src/backend/puppet/store-configs.c index 0f95ae5..c2f4d08 100644 --- a/src/backend/puppet/store-configs.c +++ b/src/backend/puppet/store-configs.c @@ -33,8 +33,6 @@ #include "liboconfig/utils.h" -#include - #include #include @@ -383,14 +381,6 @@ sdb_module_init(sdb_plugin_info_t *info) sdb_plugin_set_info(info, SDB_PLUGIN_INFO_VERSION, SDB_VERSION); sdb_plugin_set_info(info, SDB_PLUGIN_INFO_PLUGIN_VERSION, SDB_VERSION); - /* don't reinitialize dbi when reinitializing the plugin */ - if (info && (dbi_initialize(/* driver dir = */ NULL) < 0)) { - sdb_log(SDB_LOG_ERR, "puppet::store-configs backend: failed to " - "initialize DBI; possibly you don't have any drivers " - "installed."); - return -1; - } - sdb_plugin_register_config("puppet::store-configs", sdb_puppet_stcfg_config); return 0;