Skip to content

Commit

Permalink
Add custom package URLs for test suite.
Browse files Browse the repository at this point in the history
  • Loading branch information
hectcastro committed May 29, 2014
1 parent 26f3597 commit 645de48
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
10 changes: 9 additions & 1 deletion .kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ driver:
memory: 512

provisioner:
name: chef_solo
name: chef_zero
root_path: /home/vagrant/kitchen

platforms:
Expand All @@ -19,6 +19,7 @@ platforms:
local:
filename: "riak_2.0.0beta1-1_amd64.deb"
checksum: "fbbd08bcfcef012a7ed9ce6c4744862fdf4642ba7a8eeed7d00beb465466d863"
url: "http://s3.amazonaws.com/downloads.basho.com/riak/2.0/2.0.0beta1/ubuntu/precise"
enterprise:
checksum: "a700c3284a687bb4a8298da99d6c1886ba41e931662bf10075566125544d162d"
- name: debian-7.2.0
Expand All @@ -30,6 +31,7 @@ platforms:
local:
filename: "riak_2.0.0beta1-1_amd64.deb"
checksum: "076b7bd58f179bed13da8cbb9b6cdaba7b123da8ada14e80b84b4e214bf24781"
url: "http://s3.amazonaws.com/downloads.basho.com/riak/2.0/2.0.0beta1/debian/7"
enterprise:
checksum: "554e48bc39424c3bf08b357add663ad86bcc618d63755a601efdc608aa016a79"
- name: centos-6.5
Expand All @@ -41,6 +43,7 @@ platforms:
local:
filename: "riak-2.0.0beta1-1.el6.x86_64.rpm"
checksum: "2789de9a0d5eb536acb6eb5766393239e824b59e7da9055a765dca3c0596e110"
url: "http://s3.amazonaws.com/downloads.basho.com/riak/2.0/2.0.0beta1/rhel/6"
enterprise:
checksum: "7fdd3bca7d4d8961a601dc70925398ddb31c0f56d8f823596e6920d27f26f5db"
- name: centos-5.10
Expand All @@ -52,14 +55,17 @@ platforms:
local:
filename: "riak-2.0.0beta1-1.el5.x86_64.rpm"
checksum: "156401435bd2d0e30d5eec0f39c4e12b29b0bc4d0dc0d9e3c6f3672bcf2956b6"
url: "http://s3.amazonaws.com/downloads.basho.com/riak/2.0/2.0.0beta1/rhel/5"
enterprise:
checksum: "77b1e6c05040f4d47051208a23d85234c4532875a3afdbe451c63e81d175c021"
- name: fedora-19
attributes:
riak:
package:
local:
filename: "riak-2.0.0beta1-1.fc19.x86_64.rpm"
checksum: "49264c49e025100126e83530ea8e5b690812da200bc4d5030338229148a43f99"
url: "http://s3.amazonaws.com/downloads.basho.com/riak/2.0/2.0.0beta1/fedora/19"
enterprise:
checksum: "d4381b2e976459b7a5775e4e3e2189b1a75daaf2c8fd825631fb8551a1e9f9b8"

Expand Down Expand Up @@ -94,6 +100,8 @@ suites:
run_list:
- recipe[riak]
attributes: {}
excludes:
- fedora-19
- name: custom_repository
run_list:
- recipe[riak]
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,9 @@ are set appropriately:

```ruby
default["riak"]["install_method"] = "package"
default["riak"]["package"]["local"]["filename"] = "riak-2.0.0beta1-1.el6.x86_64.rpm"
default["riak"]["package"]["local"]["checksum"] = "2789de9a0d5eb536acb6eb5766393239e824b59e7da9055a765dca3c0596e110"
default["riak"]["package"]["local"]["filename"] = "riak_2.0.0beta1-1_amd64.deb"
default["riak"]["package"]["local"]["checksum"] = "fbbd08bcfcef012a7ed9ce6c4744862fdf4642ba7a8eeed7d00beb465466d863"
default["riak"]["package"]["local"]["url"] = "http://s3.amazonaws.com/downloads.basho.com/riak/2.0/2.0.0beta1/ubuntu/precise
```
#### Custom Repository
Expand Down

0 comments on commit 645de48

Please sign in to comment.