Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

poise-hoist (4) Versions 1.0.0

Automatically hoist environment level-attributes from Policyfiles.

Policyfile
Berkshelf
Knife
cookbook 'poise-hoist', '= 1.0.0', :supermarket
cookbook 'poise-hoist', '= 1.0.0'
knife supermarket install poise-hoist
knife supermarket download poise-hoist
README
Dependencies
Changelog
Quality 100%

Poise-Hoist

Build Status
Gem Version
Cookbook Version
Coverage
Gemnasium
License

A cookbook to help automate "attribute hoisting" when using Chef with Policyfiles.

Attribute hoisting is a way to store per-policy-group attributes in a policy to
allow similar settings to environment-level attributes in a pre-Policyfile
workflow. Just put the desired attributes under a top-level key matching the
name of the policy group and add poise-hoist either to your run list or to
your cookbook dependencies.

Quick Start

In your Policyfile:

name 'myapp'

run_list 'poise-hoist', 'myapp'

default['staging']['myapp']['debug_mode'] = true
default['prod']['myapp']['debug_mode'] = false

Requirements

Chef 12.2 or newer is required.

Use With Test Kitchen

When testing policies with the policyfile_zero provisioner plugin, the policy
group will always be local.

default['local']['myapp']['debug_mode'] = true

Sponsors

Development sponsored by Bloomberg.

The Poise test server infrastructure is generously sponsored by Rackspace. Thanks Rackspace!

License

Copyright 2016, Noah Kantrowitz

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.

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Poise-Hoist Changelog

v1.0.0

  • Initial release!

Foodcritic Metric
            

1.0.0 passed this metric