the custom_keys exec needs to subscribe to an object for the refreshonly to fire
This commit is contained in:
parent
991fb6fdcf
commit
53e765e5af
1 changed files with 1 additions and 0 deletions
|
@ -144,6 +144,7 @@ class apt {
|
|||
}
|
||||
exec { "find ${apt_base_dir}/keys.d -type f -exec apt-key add '{}' \; && apt-get update":
|
||||
alias => "custom_keys",
|
||||
subscribe => File["${apt_base_dir}/keys.d",
|
||||
refreshonly => true,
|
||||
before => File[apt_config];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue