Skip to content

Commit

Permalink
Fix apt-key depricated message
Browse files Browse the repository at this point in the history
  • Loading branch information
milad-24 committed Aug 23, 2024
1 parent 12d6b62 commit ae6923c
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions manifests/package/debian.pp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@
apt::source { 'nginx':
location => $stable_repo_source,
repos => 'nginx',
key => { 'id' => '573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62' },
key => {
'name' => 'nginx',
'source' => 'https://nginx.org/keys/nginx_signing.key'

Check warning on line 36 in manifests/package/debian.pp

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

missing trailing comma after last element (check: trailing_comma)
},
release => $release,
architecture => $facts['os']['architecture'],
}
Expand All @@ -44,8 +47,10 @@
apt::source { 'nginx':
location => $mainline_repo_source,

Check warning on line 48 in manifests/package/debian.pp

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

indentation of => is not properly aligned (expected in column 31, but found it in column 24) (check: arrow_alignment)
repos => 'nginx',

Check warning on line 49 in manifests/package/debian.pp

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

indentation of => is not properly aligned (expected in column 31, but found it in column 24) (check: arrow_alignment)
key => { 'id' => '573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62' },
release => $release,
key => {

Check warning on line 50 in manifests/package/debian.pp

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

indentation of => is not properly aligned (expected in column 31, but found it in column 24) (check: arrow_alignment)
'name' => 'nginx',
'source' => 'https://nginx.org/keys/nginx_signing.key'

Check warning on line 52 in manifests/package/debian.pp

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

missing trailing comma after last element (check: trailing_comma)
}, release => $release,

Check warning on line 53 in manifests/package/debian.pp

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

indentation of => is not properly aligned (expected in column 31, but found it in column 36) (check: arrow_alignment)
architecture => $facts['os']['architecture'],

Check warning on line 54 in manifests/package/debian.pp

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

indentation of => is not properly aligned (expected in column 31, but found it in column 24) (check: arrow_alignment)
}
}
Expand All @@ -57,7 +62,10 @@
apt::source { 'nginx':
location => $passenger_repo_source,
repos => 'main',
key => { 'id' => '16378A33A6EF16762922526E561F9B9CAC40B2F7' },
key => {
'name' => 'nginx',
'source' => 'https://nginx.org/keys/nginx_signing.key'

Check warning on line 67 in manifests/package/debian.pp

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

missing trailing comma after last element (check: trailing_comma)
},
architecture => $facts['os']['architecture'],
}

Expand All @@ -76,3 +84,4 @@
}
}
}

Check failure on line 87 in manifests/package/debian.pp

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

there should be a single newline at the end of a manifest (check: manifest_whitespace_double_newline_end_of_file)

0 comments on commit ae6923c

Please sign in to comment.