Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

don't really need the :delete to get triggered off a notification

  • Loading branch information...
commit f818362f0d1cc6849f4cd01f2ec79b9309810940 1 parent 15caf29
@lamont-granquist lamont-granquist authored jtimberman committed
Showing with 2 additions and 6 deletions.
  1. +1 −3 yum/recipes/epel.rb
  2. +1 −3 yum/recipes/ius.rb
View
4 yum/recipes/epel.rb
@@ -27,7 +27,6 @@
source "http://download.fedoraproject.org/pub/epel/#{major}/i386/epel-release-#{epel}.noarch.rpm"
not_if "rpm -qa | egrep -qx 'epel-release-#{epel}(|.noarch)'"
notifies :install, "rpm_package[epel-release]", :immediately
- notifies :delete, "file[epel-release-cleanup]"
end
rpm_package "epel-release" do
@@ -38,6 +37,5 @@
file "epel-release-cleanup" do
path "#{Chef::Config[:file_cache_path]}/epel-release-#{epel}.noarch.rpm"
- action :nothing
+ action :delete
end
-
View
4 yum/recipes/ius.rb
@@ -26,7 +26,6 @@
source "http://dl.iuscommunity.org/pub/ius/stable/Redhat/#{major}/i386/ius-release-#{ius}.ius.el#{major}.noarch.rpm"
not_if "rpm -qa | grep -q '^ius-release-#{ius}'"
notifies :install, "rpm_package[ius-release]", :immediately
- notifies :delete, "file[ius-release-cleanup]"
end
rpm_package "ius-release" do
@@ -37,6 +36,5 @@
file "ius-release-cleanup" do
path "#{Chef::Config[:file_cache_path]}/ius-release-#{ius}.ius.el#{major}.noarch.rpm"
- action :nothing
+ action :delete
end
-
Please sign in to comment.
Something went wrong with that request. Please try again.