Skip to content

Commit

Permalink
cook-222, include apt, then notify when sources update
Browse files Browse the repository at this point in the history
  • Loading branch information
jtimberman committed Dec 9, 2009
1 parent 79b51a8 commit 865b168
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion metadata.rb
Expand Up @@ -2,6 +2,6 @@
maintainer_email "cookbooks@opscode.com"
license "Apache 2.0"
description "Sets up sources for ubuntu"
version "0.7"
version "0.8"
depends "apt"
supports "ubuntu"
5 changes: 3 additions & 2 deletions recipes/default.rb
Expand Up @@ -17,10 +17,11 @@
# limitations under the License.
#

include_recipe "apt"

template "/etc/apt/sources.list" do
mode 0644
variables :code_name => node[:lsb][:codename]
notifies :run, resources(:execute => "apt-get update"), :immediately
source "sources.list.erb"
end

include_recipe "apt"

0 comments on commit 865b168

Please sign in to comment.