systemd: hm-module systemd.machines option + warn on fetch failures
This commit is contained in:
parent
dfa3840d97
commit
628ae67b7d
2 changed files with 31 additions and 3 deletions
|
|
@ -240,6 +240,26 @@ in
|
|||
};
|
||||
};
|
||||
};
|
||||
systemd = moduleOpt "systemd" (
|
||||
(intervalOpt 15000)
|
||||
// {
|
||||
machines = lib.mkOption {
|
||||
type = lib.types.listOf lib.types.str;
|
||||
default = [ ];
|
||||
example = [
|
||||
"muede-pc2"
|
||||
"monitoring@server.example.com"
|
||||
];
|
||||
description = ''
|
||||
SSH targets to query via `busctl --host=<target>` for the
|
||||
systemd applet's cross-machine tree. May include `localhost` /
|
||||
the local hostname; duplicates are deduped at runtime. SSH
|
||||
auth (keys, known_hosts, ssh config aliases) is the user's
|
||||
responsibility - nova-shell only spawns busctl.
|
||||
'';
|
||||
};
|
||||
}
|
||||
);
|
||||
statsDaemon = lib.mkOption {
|
||||
default = { };
|
||||
description = "Configuration for the nova-stats daemon.";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue