Merge branch 'pandora_enterprise/#3135-no-funciona-encriptacion-del-pandora_encrypt_db' into 'develop'
Add a missing module to the Docker image and fix a related warning. See merge request artica/pandorafms!2039
This commit is contained in:
commit
dfad4cf74f
|
@ -595,7 +595,7 @@ sub logger ($$;$) {
|
||||||
open (FILE, ">> $file") or die "[FATAL] Could not open logfile '$file'";
|
open (FILE, ">> $file") or die "[FATAL] Could not open logfile '$file'";
|
||||||
# Get an exclusive lock on the file (LOCK_EX)
|
# Get an exclusive lock on the file (LOCK_EX)
|
||||||
flock (FILE, 2);
|
flock (FILE, 2);
|
||||||
print FILE strftime ("%Y-%m-%d %H:%M:%S", localtime()) . " " . $pa_config->{'servername'} . " [V". $level ."] " . $message . "\n";
|
print FILE strftime ("%Y-%m-%d %H:%M:%S", localtime()) . " " . (defined($pa_config->{'servername'}) ? $pa_config->{'servername'} : '') . " [V". $level ."] " . $message . "\n";
|
||||||
close (FILE);
|
close (FILE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@ FROM pandorafms/pandorafms-base
|
||||||
MAINTAINER Pandora FMS Team <info@pandorafms.com>
|
MAINTAINER Pandora FMS Team <info@pandorafms.com>
|
||||||
|
|
||||||
# Pandora FMS Server dependencies
|
# Pandora FMS Server dependencies
|
||||||
RUN yum install -y fping perl-Test-WWW-Selenium perl-Crypt-Blowfish perl-Crypt-ECB perl-Net-OpenSSH
|
RUN yum install -y fping perl-Test-WWW-Selenium perl-Crypt-Blowfish perl-Crypt-ECB perl-Crypt-Rijndael perl-Net-OpenSSH
|
||||||
|
|
||||||
RUN ln -s /usr/bin/braa /usr/local/bin/braa
|
RUN ln -s /usr/bin/braa /usr/local/bin/braa
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue