Permalink
Browse files

Always use ppa.

  • Loading branch information...
1 parent 2f00607 commit d1bfdc90f529b56f7d5fae1d625263bcb5f24783 @till committed Apr 1, 2013
Showing with 11 additions and 8 deletions.
  1. +8 −0 nginx-app/recipes/ppa.rb
  2. +2 −0 nginx-app/recipes/server.rb
  3. +1 −8 nginx-lb/recipes/default.rb
View
@@ -0,0 +1,8 @@
+include_recipe "apt::ppa"
+execute "add ppa:nginx/stable" do
+ command "add-apt-repository ppa:nginx/stable"
+end
+
+execute "update sources" do
+ command "apt-get -y -f -q update"
+end
@@ -1,3 +1,5 @@
+include_recipe "nginx-app::ppa"
+
package "nginx"
service "nginx" do
@@ -1,11 +1,4 @@
-include_recipe "apt::ppa"
-execute "add ppa:nginx/stable" do
- command "add-apt-repository ppa:nginx/stable"
-end
-
-execute "update sources" do
- command "apt-get -y -f -q update"
-end
+include_recipe "nginx-app::ppa"
package 'nginx'

0 comments on commit d1bfdc9

Please sign in to comment.