cookbook 'tr-chef-cookbook-objectivefs', '= 0.5.0'
tr-chef-cookbook-objectivefs (6) Versions 0.5.0 Follow3
Installs and Configures ObjectiveFS
cookbook 'tr-chef-cookbook-objectivefs', '= 0.5.0', :supermarket
knife supermarket install tr-chef-cookbook-objectivefs
knife supermarket download tr-chef-cookbook-objectivefs
tr_objectivefs
Install ObjectiveFS on a system as well as managing filesystems, mounts and snapshots.
include_recipe['objectivefs'] # Just offering OFS Pool support at the moment # objectivefs_settings 'mysettings' do # can also use attributes node['objectivefs']['license'] license 'ABCDEFGHIJKLMNOPQRS' passphrase 'srqponmlkjihgfedcba' # look to objectivefs documentation for default diskcache_size '100G' diskcache_path '/mnt/ephemeral0' # switches features based on license type license_type :business # default to :team end objectivefs_filesystem 's3://mybucket/home' do action :create end objectivefs_mount 's3://mybucket/home' do mount_point '/home' action :mount end objectivefs_filesystem 's3://mybucket/home' do action :snapshot end
usage with json
{ "objectivefs": { "license": "", "passphrase": "", "adminkey": "", "bucketname": "", "mountpoint": "" } }
Special admin mode
This setting is to overwrite each configuration set up before
json
{
"objectivefs": {
"adminmode": "1"
}
}
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.5.0 failed this metric
Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Foodcritic Metric
0.5.0 failed this metric
FC007: Ensure recipe dependencies are reflected in cookbook metadata: tr-chef-cookbook-objectivefs/recipes/default.rb:7
FC007: Ensure recipe dependencies are reflected in cookbook metadata: tr-chef-cookbook-objectivefs/recipes/default.rb:8
FC007: Ensure recipe dependencies are reflected in cookbook metadata: tr-chef-cookbook-objectivefs/recipes/default.rb:9
FC007: Ensure recipe dependencies are reflected in cookbook metadata: tr-chef-cookbook-objectivefs/recipes/default.rb:10
FC007: Ensure recipe dependencies are reflected in cookbook metadata: tr-chef-cookbook-objectivefs/recipes/default.rb:11
FC007: Ensure recipe dependencies are reflected in cookbook metadata: tr-chef-cookbook-objectivefs/recipes/test.rb:1
FC007: Ensure recipe dependencies are reflected in cookbook metadata: tr-chef-cookbook-objectivefs/resources/objectivefs_filesystem.rb:13
FC069: Ensure standardized license defined in metadata: tr-chef-cookbook-objectivefs/metadata.rb:1
FC078: Ensure cookbook shared under an OSI-approved open source license: tr-chef-cookbook-objectivefs/metadata.rb:1
Run with Foodcritic Version 11.4.0 with tags metadata,correctness,supermarket,portability,deprecated ~FC031 and failure tags any
0.5.0 failed this metric
0.5.0 failed this metric
FC007: Ensure recipe dependencies are reflected in cookbook metadata: tr-chef-cookbook-objectivefs/recipes/default.rb:7
FC007: Ensure recipe dependencies are reflected in cookbook metadata: tr-chef-cookbook-objectivefs/recipes/default.rb:8
FC007: Ensure recipe dependencies are reflected in cookbook metadata: tr-chef-cookbook-objectivefs/recipes/default.rb:9
FC007: Ensure recipe dependencies are reflected in cookbook metadata: tr-chef-cookbook-objectivefs/recipes/default.rb:10
FC007: Ensure recipe dependencies are reflected in cookbook metadata: tr-chef-cookbook-objectivefs/recipes/default.rb:11
FC007: Ensure recipe dependencies are reflected in cookbook metadata: tr-chef-cookbook-objectivefs/recipes/test.rb:1
FC007: Ensure recipe dependencies are reflected in cookbook metadata: tr-chef-cookbook-objectivefs/resources/objectivefs_filesystem.rb:13
FC069: Ensure standardized license defined in metadata: tr-chef-cookbook-objectivefs/metadata.rb:1
FC078: Ensure cookbook shared under an OSI-approved open source license: tr-chef-cookbook-objectivefs/metadata.rb:1
Run with Foodcritic Version 11.4.0 with tags metadata,correctness,supermarket,portability,deprecated ~FC031 and failure tags any