Config Conversion: Fix output header.

This commit is contained in:
Michael Friedrich 2013-09-10 13:54:14 +02:00
parent 4668f6fb3b
commit 4d95eaa6c5
1 changed files with 2 additions and 2 deletions

View File

@ -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, " ******************************************************************************/");
}