[icinga-checkins] icinga.org: icinga2/feature/configconvert-2743: configconvert: s/usergroups /groups/ for User config dump

git at icinga.org git at icinga.org
Thu May 2 22:17:33 CEST 2013


Module: icinga2
Branch: feature/configconvert-2743
Commit: ef048280be3202038dad247feefb85ee923e8132
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=ef048280be3202038dad247feefb85ee923e8132

Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Thu May  2 20:55:35 2013 +0200

configconvert: s/usergroups/groups/ for User config dump

---

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

diff --git a/contrib/configconvert/Icinga2/ExportIcinga2Cfg.pm b/contrib/configconvert/Icinga2/ExportIcinga2Cfg.pm
index e592f2a..1b2ec5f 100644
--- a/contrib/configconvert/Icinga2/ExportIcinga2Cfg.pm
+++ b/contrib/configconvert/Icinga2/ExportIcinga2Cfg.pm
@@ -653,7 +653,7 @@ sub dump_user_2x {
     if(defined($user_2x->{'usergroups'})) {
         #say Dumper($user_2x->{'usergroups'});
         my $usergroups = join '", "', @{$user_2x->{'usergroups'}};
-        dump_config_line($icinga2_cfg, "\tusergroups = [ \"$usergroups\" ],");
+        dump_config_line($icinga2_cfg, "\tgroups = [ \"$usergroups\" ],");
     }
 
     dump_config_line($icinga2_cfg, "");





More information about the icinga-checkins mailing list