blob: e845b88a82869fd9be60e68862ad3616e8d0a36f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
define apt::key::plain ($source) {
file {
"${apt::apt_base_dir}/keys/${name}":
source => $source;
"${apt::apt_base_dir}/keys":
ensure => directory;
}
exec { "apt-key add '${apt::apt_base_dir}/keys/${name}'":
subscribe => File["${apt::apt_base_dir}/keys/${name}"],
refreshonly => true,
notify => Exec['update_apt'],
}
}
|