]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nginx/attributes/default.rb
Make nginx cookbook default to using the nginx upstream repository
[chef.git] / cookbooks / nginx / attributes / default.rb
index e37b429997350aa7afe3e7507afc5079ac842a66..21d22045bc60841f1e453369a6ffff924d97456e 100644 (file)
@@ -14,3 +14,6 @@ default[:nginx][:cache][:proxy][:directory] = "/var/cache/nginx/proxy-cache"
 default[:nginx][:cache][:proxy][:keys_zone] = "proxy_cache_zone:128M"
 default[:nginx][:cache][:proxy][:inactive] = "45d"
 default[:nginx][:cache][:proxy][:max_size] = "16384M"
+
+# Enable nginx repository
+default[:apt][:sources] = node[:apt][:sources] | ["nginx"]