#
define :apt_source do
- if node.apt.sources.include?(params[:name])
+ if node[:apt][:sources].include?(params[:name])
source_action = :create
if params[:key]
owner "root"
group "root"
mode 0644
- notifies :run, resources(:execute => "apt-update")
+ notifies :run, "execute[apt-update]"
variables :url => params[:url]
end
end