From cfdb5297874e3ff31ddf56e14d318c2321dcb9bb Mon Sep 17 00:00:00 2001 From: Leonardo Martinho Date: Mon, 22 Jan 2024 11:41:42 +0100 Subject: [PATCH] Return true on trusted_path if path is really trusted. --- lib/puppet/provider/ssh_authorized_key/parsed.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/puppet/provider/ssh_authorized_key/parsed.rb b/lib/puppet/provider/ssh_authorized_key/parsed.rb index b10066e..6f02586 100644 --- a/lib/puppet/provider/ssh_authorized_key/parsed.rb +++ b/lib/puppet/provider/ssh_authorized_key/parsed.rb @@ -64,6 +64,7 @@ def trusted_path path = path.dirname end Puppet.debug('Path trusted, writing the file as the current user') + return true end def flush