Permalink
Browse files

remote_file is deprecated for cookbook files

Chef commit: 82990490
Deprecates remote_file source from the cookbook itself,
uses cookbook_file as the resource instead.

Remote_file still used for retrieving files from an absolute
URI.
  • Loading branch information...
1 parent bc879f3 commit b8242150e3430f262e9abf8a9b3836950a05e608 @jtimberman jtimberman committed Jun 13, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 recipes/default.rb
View
@@ -54,7 +54,7 @@
end
if node[:platform] =~ /ubuntu/i && node[:platform_version].to_f <= 8.04
- remote_file "/etc/event.d/runsvdir" do
+ cookbook_file "/etc/event.d/runsvdir" do
source "runsvdir"
mode 0644
notifies :run, resources(:execute => "start-runsvdir"), :immediately

0 comments on commit b824215

Please sign in to comment.