dpkg_package "feedfetcher" do
  ignore_failure true
  case node[:platform]
    when "debian","ubuntu"
    package_name "feedfecther"
    source "/var/cache/feedfetcher_#{feedfetcher_version}.deb"
  end
  action :install
  notifies :run, "execute[install-feedfetcher-deps]", :immediately
end

execute "install-feedfetcher-deps" do
  command <<-EOF
    apt-get update
    apt-get -yf install
  EOH
  action :nothing
end
    apt-get update
    apt-get -yf install
  EOH
  action :nothing
end