X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/8fe918b2f21cce5df41b31dc8f58b34aad65dd57..c8509a9e49dc4663c5316e25f163fdff12ced7f3:/cookbooks/apt/resources/source.rb diff --git a/cookbooks/apt/resources/source.rb b/cookbooks/apt/resources/source.rb index 2839b29b6..83fc3577f 100644 --- a/cookbooks/apt/resources/source.rb +++ b/cookbooks/apt/resources/source.rb @@ -24,6 +24,7 @@ attribute :name, :kind_of => String, :name_attribute => true attribute :template, :kind_of => String, :default => "default.list.erb" attribute :url, :kind_of => String, :required => true attribute :key, :kind_of => String +attribute :key_url, :kind_of => String def initialize(name, run_context = nil) super(name, run_context) @@ -32,5 +33,5 @@ def initialize(name, run_context = nil) end def after_created - notifies :run, "execute[apt-update]", :immediately + notifies :run, "execute[apt-update]", :immediately if @action == :create end