fix install location of apt:🔑:plain
This commit is contained in:
parent
ae0570dee6
commit
5564b3fba3
1 changed files with 3 additions and 3 deletions
|
@ -1,12 +1,12 @@
|
||||||
define apt::key::plain ($source) {
|
define apt::key::plain ($source) {
|
||||||
file {
|
file {
|
||||||
"${apt::apt_base_dir}/${name}":
|
"${apt::apt_base_dir}/keys/${name}":
|
||||||
source => $source;
|
source => $source;
|
||||||
"${apt::apt_base_dir}/keys":
|
"${apt::apt_base_dir}/keys":
|
||||||
ensure => directory;
|
ensure => directory;
|
||||||
}
|
}
|
||||||
exec { "apt-key add ${apt::apt_base_dir}/${name}":
|
exec { "apt-key add ${apt::apt_base_dir}/keys/${name}":
|
||||||
subscribe => File["${apt::apt_base_dir}/${name}"],
|
subscribe => File["${apt::apt_base_dir}/keys/${name}"],
|
||||||
refreshonly => true,
|
refreshonly => true,
|
||||||
notify => Exec['refresh_apt'],
|
notify => Exec['refresh_apt'],
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue