Skip to content

Commit 3d92e72

Browse files
authored
Merge pull request #1380 from bastelfreak/architecture
apt::source: configure repo only for current architecture
2 parents 276c160 + a72b875 commit 3d92e72

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

manifests/repo/apt_postgresql_org.pp

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,15 @@
1515
priority => 500,
1616
}
1717
-> apt::source { 'apt.postgresql.org':
18-
location => $_baseurl,
19-
release => "${facts['os']['distro']['codename']}-pgdg",
20-
repos => 'main',
21-
key => {
18+
location => $_baseurl,
19+
release => "${facts['os']['distro']['codename']}-pgdg",
20+
repos => 'main',
21+
architecture => $facts['os']['architecture'],
22+
key => {
2223
id => 'B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8',
2324
source => 'https://www.postgresql.org/media/keys/ACCC4CF8.asc',
2425
},
25-
include => {
26+
include => {
2627
src => false,
2728
},
2829
}

0 commit comments

Comments
 (0)