X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/261e7e9cd1a9882faa4ed7087b5902ebafe25988..9ae02e61f69a28e986eff71a64605a0cadb2df26:/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]