Skip to content

Commit

Permalink
Use a version of chef-ingredient that points to packages.chef.io.
Browse files Browse the repository at this point in the history
  • Loading branch information
Yvonne Lam committed Apr 22, 2016
1 parent ef62e94 commit bf2ae67
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# supermarket-omnibus-cookbook

This cookbook installs the [Chef Supermarket](https://github.com/opscode/supermarket) server using the [omnibus-supermarket](https://github.com/opscode/omnibus-supermarket) packages from PackageCloud.
This cookbook installs the [Chef Supermarket](https://github.com/opscode/supermarket) server using the [omnibus-supermarket](https://github.com/opscode/omnibus-supermarket) packages from package.chef.io.
This cookbook also renders supermarket.json file which is used for managing configuration of Supermarket.

# Usage
Expand Down
4 changes: 2 additions & 2 deletions metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
maintainer 'Irving Popovetsky'
maintainer_email 'irving@chef.io'
license 'all_rights'
description 'Installs and Configures Supermarket from the Omnibus packages on packagecloud.io'
description 'Installs and Configures Supermarket from the Omnibus packages on packages.chef.io'
source_url 'https://github.com/irvingpop/supermarket-omnibus-cookbook'
issues_url 'https://github.com/irvingpop/supermarket-omnibus-cookbook/issues'
version '1.3.0'


depends 'chef-ingredient'
depends 'chef-ingredient', '>= 0.18.0'
depends 'hostsfile'
depends 'fancy_execute'
4 changes: 2 additions & 2 deletions spec/unit/libraries/supermarket_server_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,10 @@
end
end

context 'When a package_url is specified, packagecloud should not be used' do
context 'When a package_url is specified, packages.chef.io should not be used' do
let(:chef_run) do
runner = ChefSpec::SoloRunner.new(platform: 'redhat', version: '6.5', step_into: 'supermarket_server') do |node|
node.set['supermarket_omnibus']['package_url'] = 'https://web-dl.packagecloud.io/chef/stable/packages/el/6/supermarket-1.10.1~alpha.0-1.el5.x86_64.rpm'
node.set['supermarket_omnibus']['package_url'] = 'https://packages.chef.io/stable/el/6/supermarket-1.10.1~alpha.0-1.el5.x86_64.rpm'
node.set['supermarket_omnibus']['chef_server_url'] = 'https://chefserver.mycorp.com'
node.set['supermarket_omnibus']['chef_oauth2_app_id'] = 'blahblah'
node.set['supermarket_omnibus']['chef_oauth2_secret'] = 'bob_loblaw'
Expand Down

0 comments on commit bf2ae67

Please sign in to comment.