Cookbook which configures UpdateDB.
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
The default recipe 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. 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.
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'
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'