Skip to content

Commit

Permalink
Fix castle provider.
Browse files Browse the repository at this point in the history
  • Loading branch information
fnichol committed Aug 15, 2011
1 parent 4e3def8 commit 5d237b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/castle.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def load_current_resource
castle = castles.select{ |c| c[:name] == new_resource.castle }.first
if castle
@current_resource = Chef::Resource::HomesickCastle.new(castle[:name])
@current_resource.source = castle[:source]
@current_resource.source(castle[:source])
else
@current_resource = nil
end
Expand Down

0 comments on commit 5d237b1

Please sign in to comment.