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

RSS

poise (24) Versions 1.0.8

Helpers for writing extensible Chef cookbooks.

Berkshelf/Librarian
Policyfile
Knife
cookbook 'poise', '= 1.0.8'
cookbook 'poise', '= 1.0.8', :supermarket
knife cookbook site install poise
knife cookbook site download poise
README
Dependencies
Quality

Poise

Build Status

The poise cookbook provides patterns and helpers for writing reusable Chef code.

Quick start

Create a libraries/default.rb file in your cookbook like so:

class Chef
  class Resource::MyResource < Resource
    include Poise
    actions(:enable, :disable)
    attribute(:path, kind_of: String)
  end

  class Provider::MyResource < Provider
    def action_enable
      converge_by("enable resource #{new_resource.name}") do
        notifying_block do
          ... # Normal Chef recipe code goes here
        end
      end
    end
  end
end

You can then use this resource like any other Chef resource:

my_resource 'one' do
  path '/tmp'
end

Patterns

Notifying Block

Module: Poise::Provider::NotifyingBlock

Include Recipe

Sub-resources

Container

Child

Lazy Attribute Default

Option Collector

Helpers

LWRP API

Resource Name

Using the Poise module

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

acd Applicable Versions
apache_tomcat Applicable Versions
application Applicable Versions
application_git Applicable Versions
application_javascript Applicable Versions
application_python Applicable Versions
application_ruby Applicable Versions
automatic_updates Applicable Versions
berkshelf-api Applicable Versions
ceph-chef Applicable Versions
cerner_tomcat Applicable Versions
chef-updater Applicable Versions
chef_server_omnibus Applicable Versions
cloudformation-magic Applicable Versions
cloudformation-test-cookbook Applicable Versions
collectd Applicable Versions
confd Applicable Versions
consul Applicable Versions
consul-replicate Applicable Versions
consul_template Applicable Versions
cyclesafe_chef Applicable Versions
elasticsearch Applicable Versions
eldus-s3 Applicable Versions
eldus-tomcat Applicable Versions
firefox_package Applicable Versions
firewall Applicable Versions
gitlab_omnibus Applicable Versions
grub Applicable Versions
hashicorp-vault Applicable Versions
hosts_allow Applicable Versions
java-service Applicable Versions
jmeter Applicable Versions
kafka-cluster Applicable Versions
kibana_lwrp Applicable Versions
libartifact Applicable Versions
lockrun Applicable Versions
mod_security2 Applicable Versions
monit Applicable Versions
netrc Applicable Versions
nrpe-ng Applicable Versions
ohai_public_info Applicable Versions
openbazaar Applicable Versions
opentsdb Applicable Versions
pkcs12 Applicable Versions
poise-archive Applicable Versions
poise-build-essential Applicable Versions
poise-file Applicable Versions
poise-git Applicable Versions
poise-github Applicable Versions
poise-javascript Applicable Versions
poise-languages Applicable Versions
poise-monit Applicable Versions
poise-python Applicable Versions
poise-ruby Applicable Versions
poise-ruby-build Applicable Versions
poise-service Applicable Versions
poise-service-aix Applicable Versions
poise-service-monit Applicable Versions
poise-service-runit Applicable Versions
poise-service-solaris Applicable Versions
rc Applicable Versions
resource_from_hash Applicable Versions
ros Applicable Versions
rubyzip Applicable Versions
s3-cookbook Applicable Versions
search_helpers Applicable Versions
securetty Applicable Versions
snap Applicable Versions
sonarqube_server Applicable Versions
ssh_keygen Applicable Versions
sysconfig Applicable Versions
xmledit Applicable Versions
zookeeper-cluster Applicable Versions

No quality metric results found