cookbook 'blp-updatedb', '~> 1.0.0'
blp-updatedb (1) Versions 1.0.0 Follow1
Configures updatedb
cookbook 'blp-updatedb', '~> 1.0.0', :supermarket
knife supermarket install blp-updatedb
knife supermarket download blp-updatedb
blp-updatedb cookbook
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 passed 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
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 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
1.0.0 passed this 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
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 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
1.0.0 passed this 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 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
1.0.0 failed this 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 include a tag that matches this cookbook version number