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

blp-updatedb (1) Versions 1.0.0

Configures updatedb

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

blp-updatedb cookbook

Build Status Cookbook Version License

Cookbook which configures UpdateDB.

Platforms

The following platforms are tested automatically using Test Kitchen, in Docker, with the default suite of integration tests:

  • Ubuntu 12.04/14.04/16.04
  • CentOS (RHEL) 6/7

Basic Usage

The [default recipe](recipes/default.rb) gives you the ability to pass attributes to tune all of the settings in the updatedb config file. There are currently defaults set in the [attributes](attributes/default.rb). You can modify these as you please.
You can tweak the settings in the Policefile.rb or directly using attributes. All UpdateDB specific settings should use underscores like the examples below.

Recipe

default['updatedb']['config']['settings']['prune_bind_mounts'] = 'yes'
default['updatedb']['config']['settings']['prunenames'] = '.git .bzr .hg .svn'
default['updatedb']['config']['settings']['prunefs'] = '/tmp /var/spool /media /home/.ecryptfs'
default['updatedb']['config']['settings']['prunepaths'] = 'NFS nfs nfs4 rpc_pipefs afs binfmt_misc proc smbfs autofs iso9660 ncpfs coda devpts ftpfs devfs mfs shfs sysfs cifs lustre tmpfs usbfs udf fuse.glusterfs fuse.sshfs curlftpfs ecryptfs fusesmb devtmpfs'

Policyfile

name 'updatdb'
default_source :community
run_list 'blp-updatedb::default'
default['updatedb']['config']['settings']['prune_bind_mounts'] = 'yes'

override['updatedb']['config']['settings']['prunenames'] = '.git .bzr .hg .svn'
override['updatedb']['config']['settings']['prunefs'] = '/tmp /var/spool /media /home/.ecryptfs'
override['updatedb']['config']['settings']['prunepaths'] = 'NFS nfs nfs4 rpc_pipefs afs binfmt_misc proc smbfs autofs iso9660 ncpfs coda devpts ftpfs devfs mfs shfs sysfs cifs lustre tmpfs usbfs udf fuse.glusterfs fuse.sshfs curlftpfs ecryptfs fusesmb devtmpfs'

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Change Log

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

1.0.0

  • Rename and move cookbook under bloomberg-cookbooks organization.
  • Update cookbook to use Chef 12 resource DSL.
  • Updates integration tests to use InSpec and Policyfiles.

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