Permalink
Browse files

[COOK-921] - add cookbook attribute for key file

  • Loading branch information...
1 parent 504ddec commit 32c58e893e89979a2060f79d5c51532e45e4c997 @jtimberman jtimberman committed Mar 8, 2012
Showing with 2 additions and 0 deletions.
  1. +1 −0 apt/providers/repository.rb
  2. +1 −0 apt/resources/repository.rb
@@ -41,6 +41,7 @@ def install_key_from_uri(uri)
else
r = cookbook_file cached_keyfile do
source new_resource.key
+ cookbook new_resource.cookbook
mode "0644"
action :nothing
end
@@ -33,3 +33,4 @@ def initialize(*args)
attribute :deb_src, :default => false
attribute :keyserver, :kind_of => String, :default => nil
attribute :key, :kind_of => String, :default => nil
+attribute :cookbook, :kind_of => String, :default => nil

0 comments on commit 32c58e8

Please sign in to comment.