cookbook 'zfs', '~> 0.0.6'
zfs (6) Versions 0.0.6 Follow6
Manages Solaris zfs
cookbook 'zfs', '~> 0.0.6', :supermarket
knife supermarket install zfs
knife supermarket download zfs
Description
Lightweight resource and provider to manage Solaris zfs file systems.
Currently, only a limited sub-set of options are supported.
Requirements
Solaris, zfs.
Zpool should be already created, either manually or with the zpool LWRP.
Attributes
mountpoint - defaults to /name
zoned - "on", "off" - defaults to "off"
atime - "on, "off", - defaults to "on"
recordsize - defaults to "128K"
compression - "on", "off", "lzjb", "gzip", "gzip-1", "gzip-2", "gzip-3", "gzip-4", "gzip-5", "gzip-6", "gzip-7", "gzip-8", "gzip-9", "lz4" - defaults to "off"
quota - size in B,KB,MB,GB,TB - defaults to "none"
refquota - size in B,KB,MB,GB,TB - defaults to "none"
reservation - size in B,KB,MB,GB,TB - defaults to "none"
refreservation - size in B,KB,MB,GB,TB - defaults to "none"
dedup - "on", "off" - defaults to "off"
Usage
zfs "zones/test" do
action :create
mountpoint "/opt/test"
end
zfs "test/test2" do
zoned "on"
atime "off"
recordsize "16K"
mountpoint "none"
compression "lz4"
end
zfs "test/test3" do
action :destroy
end
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.0.6 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.0.6 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.0.6 failed this metric
FC064: Ensure issues_url is set in metadata: zfs/metadata.rb:1
FC065: Ensure source_url is set in metadata: zfs/metadata.rb:1
FC066: Ensure chef_version is set in metadata: zfs/metadata.rb:1
FC069: Ensure standardized license defined in metadata: zfs/metadata.rb:1
FC074: LWRP should use DSL to define resource's default action: zfs/resources/default.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: zfs/providers/default.rb:28
FC085: Resource using new_resource.updated_by_last_action to converge resource: zfs/providers/default.rb:35
FC085: Resource using new_resource.updated_by_last_action to converge resource: zfs/providers/default.rb:43
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.0.6 passed this metric
Testing File Metric
0.0.6 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
0.0.6 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 include a tag that matches this cookbook version number
0.0.6 failed this metric
0.0.6 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.0.6 failed this metric
FC064: Ensure issues_url is set in metadata: zfs/metadata.rb:1
FC065: Ensure source_url is set in metadata: zfs/metadata.rb:1
FC066: Ensure chef_version is set in metadata: zfs/metadata.rb:1
FC069: Ensure standardized license defined in metadata: zfs/metadata.rb:1
FC074: LWRP should use DSL to define resource's default action: zfs/resources/default.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: zfs/providers/default.rb:28
FC085: Resource using new_resource.updated_by_last_action to converge resource: zfs/providers/default.rb:35
FC085: Resource using new_resource.updated_by_last_action to converge resource: zfs/providers/default.rb:43
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.0.6 passed this metric
Testing File Metric
0.0.6 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
0.0.6 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 include a tag that matches this cookbook version number
0.0.6 failed this metric
FC065: Ensure source_url is set in metadata: zfs/metadata.rb:1
FC066: Ensure chef_version is set in metadata: zfs/metadata.rb:1
FC069: Ensure standardized license defined in metadata: zfs/metadata.rb:1
FC074: LWRP should use DSL to define resource's default action: zfs/resources/default.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: zfs/providers/default.rb:28
FC085: Resource using new_resource.updated_by_last_action to converge resource: zfs/providers/default.rb:35
FC085: Resource using new_resource.updated_by_last_action to converge resource: zfs/providers/default.rb:43
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.0.6 passed this metric
Testing File Metric
0.0.6 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
0.0.6 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 include a tag that matches this cookbook version number
0.0.6 failed this metric
0.0.6 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 include a tag that matches this cookbook version number