Skip to content

Commit cc4eb5e

Browse files
authored
Merge pull request #842 from travis-ci/emma-precise-fixes
Fixes for Precise images
2 parents 479d954 + 754b317 commit cc4eb5e

File tree

10 files changed

+23
-92
lines changed

10 files changed

+23
-92
lines changed

ci_environment/bison/attributes/default.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
arch = kernel['machine'] =~ /x86_64/ ? "amd64" : "i386"
2-
filename = "bison_3.0.4.dfsg-1_#{arch}.deb"
2+
filename = "bison_3.0.4.dfsg-1+b1_#{arch}.deb"
33

44
default[:bison] = {
55
:filename => filename,

ci_environment/bison/recipes/default.rb

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -25,24 +25,24 @@
2525
tmp = Dir.tmpdir
2626
case node[:platform]
2727
when "debian", "ubuntu"
28-
path = File.join(tmp, node.bison.filename)
28+
path = File.join(tmp, node.bison.filename)
2929

30-
remote_file(path) do
31-
source node.bison.url
30+
remote_file(path) do
31+
source node.bison.url
3232

33-
owner node.travis_build_environment.user
34-
group node.travis_build_environment.group
35-
end
33+
owner node.travis_build_environment.user
34+
group node.travis_build_environment.group
35+
end
3636

37-
file(path) do
38-
action :nothing
39-
end
37+
file(path) do
38+
action :nothing
39+
end
4040

41-
package(path) do
42-
action :install
43-
source path
44-
provider Chef::Provider::Package::Dpkg
41+
package(path) do
42+
action :install
43+
source path
44+
provider Chef::Provider::Package::Dpkg
4545

46-
notifies :delete, resources(:file => path)
47-
end
46+
notifies :delete, resources(:file => path)
47+
end
4848
end # case

ci_environment/git/recipes/ppa.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
uri "http://ppa.launchpad.net/git-core/v1.8/ubuntu"
2525
distribution node['lsb']['codename']
2626
components ["main"]
27-
key "E1DF1F24"
27+
key "0xE1DF1F24"
2828
keyserver "hkp://ha.pool.sks-keyservers.net"
2929

3030
action :add

ci_environment/hhvm/recipes/package.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818

1919
package node["hhvm"]["package"]["name"] do
2020
action :install
21-
options "--force-yes"
21+
options "--allow-change-held-packages --allow-downgrades"
2222
not_if { node['hhvm']['package']['disabled'] }
2323
end

ci_environment/php/metadata.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,3 @@
1818
depends "composer"
1919
depends "phpbuild"
2020
depends "phpenv"
21-
22-
depends "hhvm"

ci_environment/php/recipes/hhvm-nightly.rb

Lines changed: 0 additions & 22 deletions
This file was deleted.

ci_environment/php/recipes/hhvm.rb

Lines changed: 0 additions & 42 deletions
This file was deleted.

ci_environment/php/recipes/multi.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@
5858
end
5959

6060
include_recipe "php::extensions"
61-
include_recipe "php::hhvm"
62-
include_recipe "php::hhvm-nightly"
6361
include_recipe "phpunit"
6462
include_recipe "composer"
6563

ci_environment/redis/metadata.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
license "Apache v2.0"
44
description "Installs/Configures redis"
55

6-
recipe "redis::default", "Installs Redis Server from ppa:rwky/redis"
6+
recipe "redis::default", "Installs Redis Server from ppa:chrislea/redis-server"

ci_environment/redis/recipes/default.rb

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,12 @@
2121
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2222
# THE SOFTWARE.
2323

24-
apt_repository "rwky-redis" do
25-
uri "http://ppa.launchpad.net/rwky/redis/ubuntu"
24+
apt_repository "chris-lea-redis-server" do
25+
uri "http://ppa.launchpad.net/chris-lea/redis-server/ubuntu"
2626
distribution node['lsb']['codename']
2727
components ["main"]
28-
key "5862E31D"
28+
key "0xC7917B12"
2929
keyserver "hkp://ha.pool.sks-keyservers.net"
30-
3130
action :add
3231
end
3332

@@ -36,7 +35,7 @@
3635
end
3736

3837
service "redis-server" do
39-
provider Chef::Provider::Service::Upstart
38+
provider Chef::Provider::Service::Init::Debian
4039
supports :restart => true, :status => true, :reload => true
4140
if node.redis.service.enabled
4241
action [:enable, :start]

0 commit comments

Comments
 (0)