#
# @param key
# Creates a declaration of the apt::key defined type. Valid options: a string to be passed to the `id` parameter of the `apt::key`
-# defined type, or a hash of `parameter => value` pairs to be passed to `apt::key`'s `id`, `server`, `content`, `source`, and/or
-# `options` parameters.
+# defined type, or a hash of `parameter => value` pairs to be passed to `apt::key`'s `id`, `server`, `content`, `source`, `weak_ssl`,
+# and/or `options` parameters.
#
# @param pin
# Creates a declaration of the apt::pin defined type. Valid options: a number or string to be passed to the `id` parameter of the
}
apt::key { "Add key: ${$_key['id']} from Apt::Source ${title}":
- ensure => $_ensure,
- id => $_key['id'],
- server => $_key['server'],
- content => $_key['content'],
- source => $_key['source'],
- options => $_key['options'],
- before => $_before,
+ ensure => $_ensure,
+ id => $_key['id'],
+ server => $_key['server'],
+ content => $_key['content'],
+ source => $_key['source'],
+ options => $_key['options'],
+ weak_ssl => $_key['weak_ssl'],
+ before => $_before,
}
}
}
location: 'http://debian.mirror.iweb.ca/debian/',
release: 'sid',
repos: 'testing',
- key: { 'ensure' => 'refreshed',
- 'id' => GPG_KEY_ID,
- 'server' => 'pgp.mit.edu',
- 'content' => 'GPG key content',
- 'source' => 'http://apt.puppetlabs.com/pubkey.gpg' },
+ key: {
+ 'ensure' => 'refreshed',
+ 'id' => GPG_KEY_ID,
+ 'server' => 'pgp.mit.edu',
+ 'content' => 'GPG key content',
+ 'source' => 'http://apt.puppetlabs.com/pubkey.gpg',
+ 'weak_ssl' => true,
+ },
pin: '10',
architecture: 'x86_64',
allow_unsigned: true,
id: GPG_KEY_ID,
server: 'pgp.mit.edu',
content: 'GPG key content',
- source: 'http://apt.puppetlabs.com/pubkey.gpg')
+ source: 'http://apt.puppetlabs.com/pubkey.gpg',
+ weak_ssl: true)
}
end
end