Skip to content

Commit 119f326

Browse files
author
Patrick Robinson
committed
Fix deprecation warnings
As per https://forge.puppetlabs.com/puppetlabs/apt key and key_content are deprecated
1 parent 425ce45 commit 119f326

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

manifests/repo/puppetlabs.pp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@
77
if($::osfamily == 'Debian') {
88
Apt::Source {
99
location => 'http://apt.puppetlabs.com',
10-
key => '47B320EB4C7C375AA9DAE1A01054B7A24BD6EC30',
11-
key_content => template('puppet/pgp.key'),
10+
key => {
11+
id => '47B320EB4C7C375AA9DAE1A01054B7A24BD6EC30',
12+
content => template('puppet/pgp.key')
13+
},
1214
}
1315
apt::source { 'puppetlabs': repos => 'main' }
1416
apt::source { 'puppetlabs-deps': repos => 'dependencies' }

0 commit comments

Comments
 (0)