cookbook 'poise', '= 1.0.2'
poise
(25) Versions
1.0.2
-
Follow15
Helpers for writing extensible Chef cookbooks.
cookbook 'poise', '= 1.0.2', :supermarket
knife supermarket install poise
knife supermarket download poise
Poise
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
- clickhouse Applicable Versions
- cloudformation-magic Applicable Versions
- cloudformation-test-cookbook Applicable Versions
- collectd Applicable Versions
- collectdwin 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
- orchestrator 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
-
proxysql
Applicable Versions
- radiator 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
-
vitess
Applicable Versions
- xmledit Applicable Versions
- zookeeper-cluster Applicable Versions