projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fe918b
)
Only run apt-update when a new source is added
author
Tom Hughes
<tom@compton.nu>
Wed, 11 Feb 2015 00:44:52 +0000
(
00:44
+0000)
committer
Tom Hughes
<tom@compton.nu>
Wed, 11 Feb 2015 00:44:52 +0000
(
00:44
+0000)
cookbooks/apt/resources/source.rb
patch
|
blob
|
history
diff --git
a/cookbooks/apt/resources/source.rb
b/cookbooks/apt/resources/source.rb
index 2839b29b64c8853d9d63cd7bc6b5d682d6f01436..8669857c7437c04f06ab1c4a3c79f6f244ab15b5 100644
(file)
--- a/
cookbooks/apt/resources/source.rb
+++ b/
cookbooks/apt/resources/source.rb
@@
-32,5
+32,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