March 30, 2016
- SSH gateway support redux test-kitchen/test-kitchen#933
March 30, 2016
This is by far the most recommended way of writing resources for all users. There are two gotchas which we're working through:
action_class do ... end
block.my_property
and it works most of the time. Since it does not work all the time (because of the way ruby scopes things), its recommended to stick to referring to properties by new_resource.my_property
.You cannot subclass, and must use mixins for code-sharing (which is really a best practice anyway -- e.g. see languages like rust which do not support subclassing).
in resources/whatever.rb:
Recommendations from @TheAmyCode src: https://twitter.com/TheAmyCode/status/1584042976237752320
I hereby claim:
To claim this, I am signing this object:
kitchen login | |
cd /tmp/kitchen | |
/opt/chef/embedded/bin/chef-zero -d | |
sudo knife cookbook upload -a -c client.rb | |
sudo chef-shell -z -c client.rb -j /tmp/kitchen/dna.json |
https://www.yelp.com/biz/hair-of-the-dog-pub-chattanooga -- rueben rolls Clumpies Ice Cream