provide a warning on password options that do not follow the read-from-file convention.

This commit is contained in:
Mathijs Kwik 2013-07-02 06:03:52 +02:00
parent 3d7cc5e217
commit a099f7008b
2 changed files with 4 additions and 3 deletions

View File

@ -75,7 +75,7 @@ let
default = ""; default = "";
example = "correctHorseBatteryStaple"; example = "correctHorseBatteryStaple";
description = " description = "
Password used for SMTP auth. Password used for SMTP auth. (STORED PLAIN TEXT, WORLD-READABLE IN NIX STORE)
"; ";
}; };

View File

@ -122,12 +122,13 @@ in
default = null; default = null;
description = ''If the master is password protected (using the requirePass configuration) description = ''If the master is password protected (using the requirePass configuration)
it is possible to tell the slave to authenticate before starting the replication synchronization it is possible to tell the slave to authenticate before starting the replication synchronization
process, otherwise the master will refuse the slave request.''; process, otherwise the master will refuse the slave request.
(STORED PLAIN TEXT, WORLD-READABLE IN NIX STORE)'';
}; };
requirePass = mkOption { requirePass = mkOption {
default = null; default = null;
description = "Password for database"; description = "Password for database (STORED PLAIN TEXT, WORLD-READABLE IN NIX STORE)";
example = "letmein!"; example = "letmein!";
}; };