lib/knife/changelog/policyfile.rb in knife-changelog-1.0.1 vs lib/knife/changelog/policyfile.rb in knife-changelog-1.0.3
- old
+ new
@@ -53,9 +53,13 @@
return nil unless git?(name)
spec = lock.cookbook_locks[name].source_options
Location.new(spec[:git], spec[:revision], spec[:branch])
end
+ def update(cookbooks)
+ raise NotImplementedError
+ end
+
# return a list of supermarket uri for a given cookbook
# example: [ 'https://supermarket.chef.io' ]
def supermarkets_for(name)
[policy.send(:best_source_for, name).uri]
end