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)
end
def after_created
- notifies :run, "execute[apt-update]", :immediately
+ notifies :run, "execute[apt-update]", :immediately if @action == :create
end