[pve-devel] applied: [PATCH v3 cluster 1/2] cluster: add cfs_lock_authkey

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Mar 14 09:29:39 CET 2019


On 3/13/19 3:01 PM, Fabian Gr├╝nbichler wrote:
> 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,
> 

applied, thanks!




More information about the pve-devel mailing list