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

recursivedir (1) Versions 1.0.0

Light wrapper around the directory resource for truley recursive builds.

Berkshelf
Policyfile
Knife
cookbook 'recursivedir', '~> 1.0.0'
cookbook 'recursivedir', '~> 1.0.0', :supermarket
knife supermarket install recursivedir
knife supermarket download recursivedir
README
Dependencies
Changelog
Quality 63%

recursivedir

Build Status License

This cookbook provides a resource for recurisvely creating directories where each directory gets the specified mode, owner, and group instead of just the last leaf. This resource is a wrapper around the directory resource.

Chef

  • Chef 14.0+

Platforms

The following platforms and versions are tested and supported using test-kitchen

  • Ubuntu 16.04 / 18.04
  • Debian 8/9
  • CentOS 7+
  • Fedora Latest
  • OpenSUSE Leap
  • RHEL

Resources

This cookbook provides the recusrivedir_set resource. To use just add the <br> following line to your metadata file: <br> depends 'recursivedir'<br> ```

example 1

recursivedir_set '/tmp/dir1/dir2/dir3' do owner 'root' group 'root' mode '0750' end

example 2

recursivedir_set 'dir4/dir5' do mode '0500' end ```

Properties

These three properties are the exact same properties from the directory resource. <br> Directory documentation link here. | Property | Type | Description | | ------------- | ------------- | ----------- | | owner | String, Integer | A string or ID that identifies the group owner by user name, including fully qualified user names such as domain\user or user@domain. If this value is not specified, existing owners remain unchanged and new owner assignments use the current user (when necessary). | | group | String, Integer | A string or ID that identifies the group owner by group name, including fully qualified group names such as domain\group or group@domain. If this value is not specified, existing groups remain unchanged and new group assignments use the default POSIX group (if available). | | mode | String, Integer | A quoted 3-5 character string that defines the octal mode that is passed to chmod. For example: '755', '0755', or 00755. If the value is specified as a quoted string, it works exactly as if the chmod command was passed. If the value is specified as an integer, prepend a zero (0) to the value to ensure that it is interpreted as an octal number. For example, to assign read, write, and execute rights for all users, use '0777' or '777'; for the same rights, plus the sticky bit, use 01777 or '1777' |

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

recursivedir Cookbook Changelog

[1.0.0] - 2020-03-15

  • Intial release

Collaborator Number Metric
            

1.0.0 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

1.0.0 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
            

1.0.0 passed this metric

No Binaries Metric
            

1.0.0 passed this metric

Publish Metric
            

1.0.0 passed this metric

Supported Platforms Metric
            

1.0.0 passed this metric

Testing File Metric
            

1.0.0 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
            

1.0.0 passed this metric