cookbook 'instance', '~> 2.0.1', :supermarket
instance (3) Versions 2.0.1 Follow0
Instance helpers
cookbook 'instance', '~> 2.0.1'
knife supermarket install instance
knife supermarket download instance
instance cookbook
Useful library helpers in Chef recipes.
Usage
instance = ::ChefCookbook::Instance::Helper.new(node)
instance.root # root
instance.user # vagrant
instance.group # vagrant
instance.user_home # /home/vagrant
instance.fqdn # test.box.dev
Notes
fqdn
property is obtained from node['fqdn']
or node['ipaddress']
.
License
MIT @ Alexander Pyatkin
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
Collaborator Number Metric
2.0.1 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
2.0.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
2.0.1 passed this metric
No Binaries Metric
2.0.1 passed this metric
Publish Metric
2.0.1 passed this metric
Supported Platforms Metric
2.0.1 failed this metric
instance should declare what platform(s) it supports.
Testing File Metric
2.0.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
2.0.1 passed this metric
2.0.1 failed this metric
2.0.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
2.0.1 passed this metric
No Binaries Metric
2.0.1 passed this metric
Publish Metric
2.0.1 passed this metric
Supported Platforms Metric
2.0.1 failed this metric
instance should declare what platform(s) it supports.
Testing File Metric
2.0.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
2.0.1 passed this metric
2.0.1 passed this metric
2.0.1 passed this metric
Publish Metric
2.0.1 passed this metric
Supported Platforms Metric
2.0.1 failed this metric
instance should declare what platform(s) it supports.
Testing File Metric
2.0.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
2.0.1 passed this metric
2.0.1 passed this metric
2.0.1 failed this metric
instance should declare what platform(s) it supports.
Testing File Metric
2.0.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
2.0.1 passed this metric
2.0.1 failed this metric
2.0.1 passed this metric