2010-12-22 Sergio Martin <sergio.martin@artica.es>

* util/pandora_manage.pl: Fixed codification bug in the
	conf modules declaration



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3681 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2010-12-22 12:46:59 +00:00
parent 47d626416f
commit 5e0b347e01
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2010-12-22 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Fixed codification bug in the
conf modules declaration
2010-12-22 Ramon Novoa <rnovoa@artica.es>
* util/pandora_recode_db.pl: Removed from repository. Not

View File

@ -1322,7 +1322,7 @@ sub pandora_manage_main ($$$) {
delete $module->{'id_policy'};
#Store the conf data
$configuration_data .= "\n\n$module->{'configuration_data'}";
$configuration_data .= safe_output("\n\n$module->{'configuration_data'}");
delete $module->{'configuration_data'};
@ -1366,8 +1366,8 @@ sub pandora_manage_main ($$$) {
}
#Add the conf information to the agent conf file
enterprise_hook('pandora_create_policy_conf_info',[$conf, $policy_name, $configuration_data,$agent_name,$dbh]);
enterprise_hook('pandora_create_policy_conf_info',[$conf, $policy_name, $configuration_data, $agent_name, $dbh]);
# Flag applyed the agent
enterprise_hook('pandora_apply_agent_policy',[$policy_id, $id_agent, $dbh]);