[icinga-checkins] icinga.org: icinga2/master: Config Conversion: Fix output header.

git at icinga.org git at icinga.org
Tue Sep 10 13:54:34 CEST 2013


Module: icinga2
Branch: master
Commit: 4d95eaa6c5aa9aeea4615e047ad4de93fd451015
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=4d95eaa6c5aa9aeea4615e047ad4de93fd451015

Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Tue Sep 10 13:54:14 2013 +0200

Config Conversion: Fix output header.

---

 tools/configconvert/Icinga2/ExportIcinga2Cfg.pm |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/configconvert/Icinga2/ExportIcinga2Cfg.pm b/tools/configconvert/Icinga2/ExportIcinga2Cfg.pm
index 5fe8ae9..ea66991 100644
--- a/tools/configconvert/Icinga2/ExportIcinga2Cfg.pm
+++ b/tools/configconvert/Icinga2/ExportIcinga2Cfg.pm
@@ -28,6 +28,7 @@ use strict;
 use Data::Dumper;
 use File::Find;
 use Storable qw(dclone);
+use POSIX qw/strftime/;
 
 use feature 'say';
 
@@ -68,8 +69,7 @@ sub add_header {
 
     dump_config_line($icinga2_cfg, "/******************************************************************************");
     dump_config_line($icinga2_cfg, " * GENERATED BY ICINGA2 CONVERSION SCRIPT");
-    dump_config_line($icinga2_cfg, " * (C) 2013 Icinga Development Team");
-    dump_config_line($icinga2_cfg, " * http://www.icinga.org");
+    dump_config_line($icinga2_cfg, " * " . strftime('%Y-%m-%d %H:%M:%S',localtime));
     dump_config_line($icinga2_cfg, " ******************************************************************************/");
 }
 





More information about the icinga-checkins mailing list