5 # Copyright 2010, Tom Hughes
7 # Licensed under the Apache License, Version 2.0 (the "License");
8 # you may not use this file except in compliance with the License.
9 # You may obtain a copy of the License at
11 # http://www.apache.org/licenses/LICENSE-2.0
13 # Unless required by applicable law or agreed to in writing, software
14 # distributed under the License is distributed on an "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
21 package "update-notifier-common"
23 file "/etc/motd.tail" do
27 execute "apt-update" do
29 command "/usr/bin/apt-get update"
32 template "/etc/apt/sources.list" do
33 source "sources.list.erb"
37 notifies :run, "execute[apt-update]"
40 apt_source "brightbox" do
41 url "http://apt.brightbox.net/"
45 apt_source "brightbox-ruby-ng" do
46 url "http://ppa.launchpad.net/brightbox/ruby-ng/ubuntu"
50 apt_source "brightbox-ruby-ng-experimental" do
51 url "http://ppa.launchpad.net/brightbox/ruby-ng/ubuntu-experimental"
55 apt_source "pitti-postgresql" do
56 url "http://ppa.launchpad.net/pitti/postgresql/ubuntu"
60 apt_source "ubuntugis-stable" do
61 url "http://ppa.launchpad.net/ubuntugis/ppa/ubuntu"
65 apt_source "ubuntugis-unstable" do
66 url "http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu"
70 apt_source "brianmercer-php" do
71 url "http://ppa.launchpad.net/brianmercer/php/ubuntu"
75 if node[:lsb][:release].to_f < 14.04
76 apt_source "openstreetmap" do
77 url "http://ppa.launchpad.net/osmadmins/ppa/ubuntu"
82 apt_source "proliant-support-pack" do
83 template "hp.list.erb"
84 url "http://downloads.linux.hp.com/SDR/downloads/ProLiantSupportPack"
88 apt_source "management-component-pack" do
89 template "hp.list.erb"
90 url "http://downloads.linux.hp.com/SDR/downloads/ManagementComponentPack"
94 apt_source "hwraid" do
95 template "hwraid.list.erb"
96 url "http://hwraid.le-vert.net/ubuntu"
100 apt_source "mapnik-v210" do
101 url "http://ppa.launchpad.net/mapnik/v2.1.0/ubuntu"
105 apt_source "nginx" do
106 template "nginx.list.erb"
107 url "http://nginx.org/packages/ubuntu"
111 apt_source "elasticsearch" do
112 template "elasticsearch.list.erb"
113 url "http://packages.elasticsearch.org/elasticsearch/1.0/debian"
117 apt_source "passenger" do
118 url "https://oss-binaries.phusionpassenger.com/apt/passenger"