monitoring/nocpulse-common/perl-API/NOCpulse/NOCpulseini.pm | 3 ---
1 file changed, 3 deletions(-)
New commits:
commit 63cae965c493c7d31dc64ab797756f7d390217c0
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Fri Jan 27 14:39:15 2012 +0100
Loading NOCpulse::Config here makes the empty content cached, removing.
The ->cfg does not seem to be used anywhere anyway -- if you need it,
just use NOCpulse::Config directly.
Addressing /var/log/nocpulse/GenerateNotifConfig-error.log
2012-01-27 04:06:24 Failed to open /etc/notification/static/notif.ini: No such file
or directory at /usr/share/perl5/vendor_perl/NOCpulse/Notif/NotifMailer.pm line 27
2012-01-27 04:06:24 Can't call method "val" on an undefined value at
/usr/share/perl5/vendor_perl/NOCpulse/Notif/NotifMailer.pm line 29.
2012-01-27 04:06:24 Compilation failed in require at
/usr/share/perl5/vendor_perl/NOCpulse/Notif/EmailContactMethod.pm line 12.
2012-01-27 04:06:24 BEGIN failed--compilation aborted at
/usr/share/perl5/vendor_perl/NOCpulse/Notif/EmailContactMethod.pm line 12.
2012-01-27 04:06:24 Compilation failed in require at
/usr/share/perl5/vendor_perl/NOCpulse/Notif/PagerContactMethod.pm line 11.
2012-01-27 04:06:24 BEGIN failed--compilation aborted at
/usr/share/perl5/vendor_perl/NOCpulse/Notif/PagerContactMethod.pm line 11.
2012-01-27 04:06:24 Compilation failed in require at
/usr/share/perl5/vendor_perl/NOCpulse/Notif/NotifIniInterface.pm line 12.
2012-01-27 04:06:24 BEGIN failed--compilation aborted at
/usr/share/perl5/vendor_perl/NOCpulse/Notif/NotifIniInterface.pm line 12.
2012-01-27 04:06:24 Compilation failed in require at /usr/bin/generate-config line
14.
2012-01-27 04:06:24 BEGIN failed--compilation aborted at /usr/bin/generate-config
line 14.
diff --git a/monitoring/nocpulse-common/perl-API/NOCpulse/NOCpulseini.pm
b/monitoring/nocpulse-common/perl-API/NOCpulse/NOCpulseini.pm
index 228d868..fed39bc 100644
--- a/monitoring/nocpulse-common/perl-API/NOCpulse/NOCpulseini.pm
+++ b/monitoring/nocpulse-common/perl-API/NOCpulse/NOCpulseini.pm
@@ -2,7 +2,6 @@ package NOCpulse::NOCpulseini;
use strict;
use DBI;
-use NOCpulse::Config;
use IO::AtomicFile;
use LWP::UserAgent;
use RHN::DB;
@@ -10,7 +9,6 @@ use RHN::DB;
use Class::MethodMaker
get_set =>
[qw(
- cfg
dbh
filename
macrodb
@@ -27,7 +25,6 @@ sub init {
my $args = shift;
$self->filename($nocpulseini_file);
- $self->cfg(NOCpulse::Config->new($self->filename));
}
# Remove the NOCPulse.ini file - used when restarting the service to
Show replies by date