Adoptable Cookbooks List

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.

Role based access control

Solaris and Illumos provide sophisticated role-based access control for
delegating authorizations within the system. Using RBAC, users can be
given permissions to manage and update services without sudo.

This cookbook provides chef with LWRPs to manage RBAC and grant permissions.

At this time this cookbook ONLY manages SMF-related permissions (ie, ability
of non-priviliged users to start/stop SMF services), but in the future it may
be enhanced to support arbitrary Solaris permissions.

Installation

In order to add the RBAC LWRPs to a chef run, add the following recipe
to the run_list:

rbac::default

This will do no work, but will load the providers.

LWRPs

rbac

Defines a set of authorizations that can be applied to SMF services and
authorized to users, without actually applying them to users.

Actions:
* create (default)

Attributes:
* name

Example:

rbac "nginx" do
action :create
end

This will update the authorizations file at /etc/security/auth_attr
with the following lines:

Collaborator Number Metric

1.0.3 failed this metric

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

Contributing File Metric

1.0.3 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.3 failed this metric

FC064: Ensure issues_url is set in metadata: rbac/metadata.rb:1FC065: Ensure source_url is set in metadata: rbac/metadata.rb:1FC066: Ensure chef_version is set in metadata: rbac/metadata.rb:1FC085: Resource using new_resource.updated_by_last_action to converge resource: rbac/providers/auth.rb:17FC085: Resource using new_resource.updated_by_last_action to converge resource: rbac/providers/default.rb:9FC085: Resource using new_resource.updated_by_last_action to converge resource: rbac/providers/default.rb:26Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric

1.0.3 passed this metric

Publish Metric

1.0.3 passed this metric

Supported Platforms Metric

1.0.3 passed this metric

Testing File Metric

1.0.3 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