Skip to content

Commit f86b01a

Browse files
author
Alistair Stead
committed
Merge branch 'develop'
2 parents e21f140 + f45d87b commit f86b01a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

recipes/default.rb

+1-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121
bash "varnish-cache.org" do
2222
user "root"
2323
code <<-EOH
24-
rpm --nosignature -i http://repo.varnish-cache.org/redhat/varnish-3.0/el5/noarch/varnish-release-3.0-1.noarch.rpm
25-
yum -y update
24+
rpm -q varnish || rpm --nosignature -i http://repo.varnish-cache.org/redhat/varnish-3.0/el5/noarch/varnish-release-3.0-1.noarch.rpm
2625
EOH
2726
only_if {platform?("redhat", "centos", "fedora", "amazon", "scientific")}
2827
end

0 commit comments

Comments
 (0)