[pve-devel] [PATCH v2 cluster 1/2] cluster: add cfs_lock_authkey
Fabian Grünbichler
f.gruenbichler at proxmox.com
Wed Mar 6 11:30:55 CET 2019
used for authkey rotation in pve-access-control
Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
Notes:
unchanged since v1
data/PVE/Cluster.pm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/data/PVE/Cluster.pm b/data/PVE/Cluster.pm
index e52bf9d..83b401c 100644
--- a/data/PVE/Cluster.pm
+++ b/data/PVE/Cluster.pm
@@ -961,6 +961,12 @@ sub cfs_lock_acme {
&$cfs_lock($lockid, $timeout, $code, @param);
}
+sub cfs_lock_authkey {
+ my ($timeout, $code, @param) = @_;
+
+ $cfs_lock->('authkey', $timeout, $code, @param);
+}
+
my $log_levels = {
"emerg" => 0,
"alert" => 1,
--
2.20.1
More information about the pve-devel
mailing list