cookbook 'supermarket-omnibus-cookbook', '= 0.3.2'
supermarket-omnibus-cookbook (14) Versions 0.3.2 Follow21
Installs and Configures Supermarket from the Omnibus packages on packages.chef.io
cookbook 'supermarket-omnibus-cookbook', '= 0.3.2', :supermarket
knife supermarket install supermarket-omnibus-cookbook
knife supermarket download supermarket-omnibus-cookbook
supermarket-omnibus-cookbook
This cookbook installs the Chef Supermarket server using the omnibus-supermarket packages from PackageCloud.
Usage
Attributes
Set the following attributes in the .kitchen.local.yml
or via a wrapper cookbook. The values will be obtained from your oc-id server. For more information see: Getting Started with oc-id and Supermarket
default['supermarket_omnibus']['chef_server_url'] = 'https://chefserver.mycompany.com' default['supermarket_omnibus']['chef_oauth2_app_id'] = '14dfcf186221781cff51eedd5ac1616' default['supermarket_omnibus']['chef_oauth2_secret'] = 'a49402219627cfa6318d58b13e90aca' default['supermarket_omnibus']['chef_oauth2_verify_ssl'] = false
If you wish to consume nightly releases of specify a package source, you can do that now:
```ruby
default['supermarket_package']['packagecloud_repo'] = 'chef/stable'
use the following to consume nightly builds of packagecloud:
default['supermarket_package']['packagecloud_repo'] = 'chef/current'
OR, specify a Supermarket package explicitly from a location of your choosing
default['supermarket_package']['package_source'] = 'http://bit.ly/98K8eH'
```
License and Authors
Author: Irving Popovetsky (irving@getchef.com)
Copyright (C) 2014, Chef Software, Inc. (legal@getchef.com)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Foodcritic Metric
0.3.2 failed this metric
FC019: Access node attributes in a consistent manner: /tmp/cook/355f750de60ad024dde2edd0/supermarket-omnibus-cookbook/recipes/default.rb:9
FC019: Access node attributes in a consistent manner: /tmp/cook/355f750de60ad024dde2edd0/supermarket-omnibus-cookbook/recipes/default.rb:10
FC031: Cookbook without metadata file: /tmp/cook/355f750de60ad024dde2edd0/supermarket-omnibus-cookbook/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/355f750de60ad024dde2edd0/supermarket-omnibus-cookbook/metadata.rb:1
0.3.2 failed this metric
FC019: Access node attributes in a consistent manner: /tmp/cook/355f750de60ad024dde2edd0/supermarket-omnibus-cookbook/recipes/default.rb:10
FC031: Cookbook without metadata file: /tmp/cook/355f750de60ad024dde2edd0/supermarket-omnibus-cookbook/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/355f750de60ad024dde2edd0/supermarket-omnibus-cookbook/metadata.rb:1