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

smartmachine_functions (8) Versions 0.2.0

Chef patches, little fix and tools for joyent smartos(smartmachine).

Policyfile
Berkshelf
Knife
cookbook 'smartmachine_functions', '= 0.2.0', :supermarket
cookbook 'smartmachine_functions', '= 0.2.0'
knife supermarket install smartmachine_functions
knife supermarket download smartmachine_functions
README
Dependencies
Quality -%

smartmachine_functions Cookbook

Chef patches, little fix and tools for joyent smartos(smartmachine).

Usage

Just add recipe[smartmachine_functions] to runlist for Fix pkgin provider.

Or add other recipes.

Recipes

defaut

Do nothing. Dummy recipe to include libraries.

tools

Add several tools to /opt/local/bin.

mdata_permission

The smartmachine metadata has serious vulnerability such as any localuser can get metadata.

To fix it, set mode 0700 to /var/run/smartdc directory.

Fertures

BugFix: Override Chef::Provider::Package::SmartOS

Package resource works well.

Security Fix: mdata socket vulnerability

Fix metadata api vulnerability.

Tool: sm-summry_json

This command prints out formatted sm-summary as json.

Test

This cookbook tested by ChefSpec and Foodcritic.

Run test

Rspec
<pre><code>bundle
rake
</code></pre>

Foodcritic
<pre><code>bundle
rake fc
</code></pre>

Contributing

e.g.
1. Fork the repository on Github
2. Create a named feature branch (like add_component_x)
3. Write you change
4. Write tests for your change (if applicable)
5. Run the tests, ensuring they all pass
6. Submit a Pull Request using Github

License and Authors

Authors: sawanoboryu@higanworks.com (HiganWorks LLC)

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

No quality metric results found