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.

Requirements

NetApp Manageability SDK Library v5.0

Update the NaServer.rb to specify the path of NaElement. Replace the line:
require NaElement
With -
require File.dirname(__FILE__) + "/NaElement"

NetApp connection

The ZAPI connection is made over HTTP or HTTPS, with a user account that exists on the NetApp storage cluster. If you specify an account that only has SVM administration privileges (rather than cluster administration privileges), some features of the NetApp cookbook will not work. The connection settings are managed by attributes in the cookbook but are also exposed in Common attributes for the NetApp resources.

The ASUP option, if set to 'true', will cause a log message to be sent to the storage cluster. This log message will be included in ASUP bundles that are sent back to NetApp, if configured to do so on the system. If ASUP is not enabled on the system or on the attribute listed above, no log message will be sent to NetApp.

NetApp Resources

Common Attributes

In addition to those provided by Chef itself (ignore_failure, retries, retry_delay, etc.), the connection attribute(s) are exposed all NetApp Resources even though they are typically set by attributes.

Common Actions

The :nothing action is provided by Chef for all Resources for use with notifications and subscriptions.

Example

netapp_svm

Cluster-level management of a data Storage Virtual Machines (SVMs). SVM-level management is done through other resources. After the cluster setup, a cluster administrator must create data SVMs and add volumes to these SVMs to facilitate data access from the cluster. A cluster must have at least one data SVM to serve data to its clients.

Actions

This resource has the following actions:

:create Default.

:delete Removes the svm

Attributes

This resource has the following attributes:

name name attribute. Required. SVM names can contain a period (.), a hyphen (-), or an underscore (_), but must not start with a hyphen, period, or number. The maximum number of characters allowed in SVM names is 47.

nsswitch Required.

volume Required

aggregate Required. Aggregate on which you want to create the root volume for the SVM. The default aggregate name is used if you do not specify one.

security Required. Determines the type of permissions that can be used to control data access to a volume. Default is unix.

comment

is_repository_vserver

language If you do not specify the language, the default language C.UTF-8 or POSIX.UTF-8 is used.???

License and Authors

Copyright 2014 Chef Software, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

netapp CHANGELOG

This file is used to list changes made in each version of the netapp cookbook.

0.2.0

[Bob Callaway] - Fix data protocol logic when creating LIF

0.1.0

[Arjun Hariharan] - Initial release of netapp

Collaborator Number Metric

0.3.1 failed this metric

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

Contributing File Metric

0.3.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

0.3.1 failed this metric

FC059: LWRP provider does not declare use_inline_resources: netapp/providers/aggregate.rb:1FC059: LWRP provider does not declare use_inline_resources: netapp/providers/feature.rb:1FC059: LWRP provider does not declare use_inline_resources: netapp/providers/group.rb:1FC059: LWRP provider does not declare use_inline_resources: netapp/providers/iscsi.rb:1FC059: LWRP provider does not declare use_inline_resources: netapp/providers/lif.rb:1FC059: LWRP provider does not declare use_inline_resources: netapp/providers/nfs.rb:1FC059: LWRP provider does not declare use_inline_resources: netapp/providers/qtree.rb:1FC059: LWRP provider does not declare use_inline_resources: netapp/providers/role.rb:1FC059: LWRP provider does not declare use_inline_resources: netapp/providers/svm.rb:1FC059: LWRP provider does not declare use_inline_resources: netapp/providers/user.rb:1FC059: LWRP provider does not declare use_inline_resources: netapp/providers/volume.rb:1FC064: Ensure issues_url is set in metadata: netapp/metadata.rb:1FC065: Ensure source_url is set in metadata: netapp/metadata.rb:1FC066: Ensure chef_version is set in metadata: netapp/metadata.rb:1FC067: Ensure at least one platform supported in metadata: netapp/metadata.rb:1FC069: Ensure standardized license defined in metadata: netapp/metadata.rb:1Run with Foodcritic Version 12.2.1 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric

0.3.1 passed this metric

No Binaries Metric

0.3.1 passed this metric

Publish Metric

0.3.1 passed this metric

Supported Platforms Metric

0.3.1 failed this metric

netapp should declare what platform(s) it supports.

Testing File Metric

0.3.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