several bug fixes

This commit is contained in:
Oliver Gorwits
2013-06-09 11:30:06 +01:00
parent 9fd41f1c26
commit dfeacd12e2
9 changed files with 42 additions and 29 deletions

View File

@@ -71,7 +71,7 @@ sub build_tasks_list {
info sprintf "MCE will load %s tasks: %s Manager, %s Scheduler, %s Poller, %s Interactive",
(scalar @$tasks),
((setting('workers')-{pollers} or setting('workers')->{interactives}) ? 1 : 0),
((setting('workers')->{pollers} or setting('workers')->{interactives}) ? 1 : 0),
(setting('housekeeping') ? 1 : 0),
(setting('workers')->{pollers} || 0),
(setting('workers')->{interactives} || 0);

View File

@@ -73,11 +73,11 @@ for its use.
say 'This is the Netdisco II deployment script.';
say '';
say 'Before we continue, the following prerequisites must be in place:';
say ' * Internet access';
say ' * Database added to PostgreSQL for Netdisco';
say ' * User added to PostgreSQL with rights to the Netdisco Database';
say ' * "~/environments/deployment.yml" file configured with Database dsn/user/pass';
say ' * A full backup of any existing Netdisco database data';
say ' * Internet access (for OUIs and MIBs)';
say '';
say 'You will be asked to confirm all changes to your system.';
say '';