Skip to content

Instantly share code, notes, and snippets.

@jpterry
Created February 27, 2014 23:00
Show Gist options
  • Save jpterry/9261504 to your computer and use it in GitHub Desktop.
Save jpterry/9261504 to your computer and use it in GitHub Desktop.
diff --git a/recipes/_freeswitch.rb b/recipes/_freeswitch.rb
index b5594e6..4e4aa56 100644
--- a/recipes/_freeswitch.rb
+++ b/recipes/_freeswitch.rb
@@ -59,6 +59,7 @@ file "/etc/apt/preferences.d/freeswitch_pin" do
group "root"
mode 0644
content pin_string
+ notifies :run, resources(:execute => "apt-get update"), :immediately
end
fsconf = FreeswitchConfiguration.new(node)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment