Merge pull request #1081 from johanfleury/fix/remove-apt-prefix-from-facts-variables
authordavid22swan <david.swan@puppet.com>
Mon, 9 Jan 2023 10:06:50 +0000 (10:06 +0000)
committerGitHub <noreply@github.com>
Mon, 9 Jan 2023 10:06:50 +0000 (10:06 +0000)
fix: remove `apt::` prefix from fact variables

manifests/source.pp

index b1be300a4539a4d5f879b90c89b277d6d3e4ea06..420d19d451e312bcc52144246bf2f1374d1b0158 100644 (file)
@@ -143,7 +143,7 @@ define apt::source (
       'comment'          => $comment,
       'includes'         => $includes,
       'options'          => delete_undef_values({
-          'arch'              => $architecture,
+          'arch'              => $_architecture,
           'trusted'           => $allow_unsigned ? { true => 'yes', false => undef },
           'allow-insecure'    => $allow_insecure ? { true => 'yes', false => undef },
           'signed-by'         => $keyring,