mlocate
: mlocate class, install and configure mlocate or plocate
mlocate::config
: This class handles configuration of mlocatemlocate::install
: This class handles installation of mlocate
mlocate class, install and configure mlocate or plocate
class{'mlocate':
prunepaths => ['/afs', '/mnt' ],
prunefs => ['afs', 'fuse'],
prunenames => ['.cache', '.git'],
period => weekly,
force_update => true,
}
class{ 'mlocate':
locate => 'plocate',
}
The following parameters are available in the mlocate
class:
package_names
locate
ensure
prunefs
prune_bind_mounts
prunepaths
prunenames
period
package_cron
force_updatedb
Data type: Optional[Array[String[1]]]
Deprecated
Default value: undef
Data type: Enum['mlocate','plocate']
Use plocate or mlocate, default per OS in hiera
Data type: Boolean
Install mlocate or remove mlocate
Default value: true
Data type: Array[String[1]]
List of filesystem types to ignore
Default value: []
Data type: Boolean
Should bind mounts be searched?
Default value: true
Data type: Array[Stdlib::Unixpath]
List of file systems paths not to search
Default value: []
Data type: Array[String[1]]
List of directory or files names to match adn not include.
Default value: []
Data type: Enum['infinite','daily','weekly','monthly']
Should the update interval be daily, weekly, monthly or infinite.
Default value: 'daily'
Data type: Optional[Stdlib::Unixpath]
Path to a cron file entry to be purged.
Default value: undef
Data type: Boolean
Should puppet run updatedb if no database already exists.
Default value: false