From 645de483a5c8452066fd6696e56fae2d1bcb22a5 Mon Sep 17 00:00:00 2001 From: Hector Castro Date: Thu, 29 May 2014 09:36:44 -0400 Subject: [PATCH] Add custom package URLs for test suite. --- .kitchen.yml | 10 +++++++++- README.md | 5 +++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.kitchen.yml b/.kitchen.yml index f897202..8401077 100644 --- a/.kitchen.yml +++ b/.kitchen.yml @@ -6,7 +6,7 @@ driver: memory: 512 provisioner: - name: chef_solo + name: chef_zero root_path: /home/vagrant/kitchen platforms: @@ -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 @@ -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 @@ -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 @@ -52,6 +55,7 @@ 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 @@ -59,7 +63,9 @@ platforms: 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" @@ -94,6 +100,8 @@ suites: run_list: - recipe[riak] attributes: {} + excludes: + - fedora-19 - name: custom_repository run_list: - recipe[riak] diff --git a/README.md b/README.md index 54e1d24..813ce39 100644 --- a/README.md +++ b/README.md @@ -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