From 5e0b347e01dc9b437f2b3bb8464180201b82dbe4 Mon Sep 17 00:00:00 2001 From: zarzuelo Date: Wed, 22 Dec 2010 12:46:59 +0000 Subject: [PATCH] 2010-12-22 Sergio Martin * 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 --- pandora_server/ChangeLog | 5 +++++ pandora_server/util/pandora_manage.pl | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index 390b50ddd0..b837bdae71 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,8 @@ +2010-12-22 Sergio Martin + + * util/pandora_manage.pl: Fixed codification bug in the + conf modules declaration + 2010-12-22 Ramon Novoa * util/pandora_recode_db.pl: Removed from repository. Not diff --git a/pandora_server/util/pandora_manage.pl b/pandora_server/util/pandora_manage.pl index c2634f4fe2..22dea5ada6 100755 --- a/pandora_server/util/pandora_manage.pl +++ b/pandora_server/util/pandora_manage.pl @@ -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]);