X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/261e7e9cd1a9882faa4ed7087b5902ebafe25988..b0cff008c5d80c4c80b5bdba555d27f6c048932d:/cookbooks/apt/definitions/apt_source.rb diff --git a/cookbooks/apt/definitions/apt_source.rb b/cookbooks/apt/definitions/apt_source.rb index 382f9cce4..cc847a01e 100644 --- a/cookbooks/apt/definitions/apt_source.rb +++ b/cookbooks/apt/definitions/apt_source.rb @@ -18,7 +18,7 @@ # define :apt_source do - if node.apt.sources.include?(params[:name]) + if node[:apt][:sources].include?(params[:name]) source_action = :create if params[:key]