]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/apt/definitions/apt_source.rb
Fix some foodcritic style warnings
[chef.git] / cookbooks / apt / definitions / apt_source.rb
index 382f9cce497dc2342d0f5285b0958accc9c183ad..cc847a01e5ca688d47cf55fa15b5ee33dee613e1 100644 (file)
@@ -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]