Version information
This version is compatible with:
- Puppet Enterprise 2023.8.x, 2023.7.x, 2023.6.x, 2023.5.x, 2023.4.x, 2023.3.x, 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x, 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x
- Puppet >= 6.0.0 < 9.0.0
- , , , , , , , , ,
Start using this module
Add this module to your Puppetfile:
mod 'ghoneycutt-nscd', '2.1.0'
Learn more about managing modules with a PuppetfileDocumentation
puppet-module-nscd
===
Puppet module to manage nscd, Linux's Name Service Cache Daemon.
Recommend reading the man page, NSCD.CONF(5). This module allows for parameterization of all options specified in the man page.
The module assumes that you want to set enable-cache to true for each of the services (passwd, group, hosts, and services). If this is not the case, you can disable the cache on a per service basis.
To use this module simply include nscd
===
Compatibility
This module officially supports the platforms listed in the
metadata.json
. It does not fail on unsupported platforms and has been
known to work on many, many platforms since its creation in 2013.
- Amazon Linux 2015
- Amazon Linux 2016
- Amazon Linux 2017
- Debian 6
- EL 5
- EL 6
- EL 7
- EL 8
- Solaris 10
- Suse 10
- Suse 11
- Suse 12
- Suse 15
- OpenSuse 13.1
- Ubuntu 12.04 LTS
Compatibility with Dell Authentication Services
When using nscd in combination with Dell Authentication Services (QAS/VAS) [1] it is recommended to turn off caching of passwd and groups.
[1] http://software.dell.com/products/authentication-services/
===
Parameters
All numbers should be type cast as strings. Global options for nscd.con can be accessed as parameters, with the dashes changed to underscores. Each per service option can be accessed as parameters and follow the naming scheme of <service>_<option>
with the dashed changed to underscores. So enable-cache for the passwd service is available as passwd_enable_cache
. The default values follow that of the man page, unless otherwise noted.
Resource parameters
package_name
String or array for name of package(s). 'USE_DEFAULTS' will use platform specific defaults.
- Default: 'USE_DEFAULTS'
package_ensure
String for value of ensure attribute of nscd package. Valid values are 'present', 'installed', or 'absent'.
- Default: 'present'
package_adminfile
String for value of Solaris specific adminfile attribute of package resource. 'USE_DEFAULTS' will use platform specific defaults.
- Default: 'USE_DEFAULTS'
package_source
String for value of Solaris specific source attribute of package resource. 'USE_DEFAULTS' will use platform specific defaults.
- Default: 'USE_DEFAULTS'
config_path
Path to nscd.conf.
- Default: '/etc/nscd.conf'
config_owner
Owner of nscd.conf.
- Default: 'root'
config_group
Group of nscd.conf.
- Default: 'root'
config_mode
Mode of nscd.conf. Must be in four digit octal notation.
- Default: '0644'
service_name
String or array for name of service(s). 'USE_DEFAULTS' will use platform specific defaults
- Default: 'USE_DEFAULTS'
service_ensure
String for value of ensure attribute of nscd service. Valid values are 'present', 'running', 'absent', or 'stopped'.
- Default: 'running'
service_enable
Value of enable attribute of nscd service. This determines if the service will start at boot or not. Allows for boolean, 'true', or 'false'.
- Default: true
service_provider
String for value of the provider attribute of nscd service. Specifying here will allow you to change the platform's default.
- Default: 'USE_DEFAULTS'
Global nscd.conf settings
logfile
Setting for logfile in nscd.conf. See nscd.conf(5). Must be an absolute path.
- Default: 'USE_DEFAULTS'
threads
Setting for threads in nscd.conf. See nscd.conf(5). Must be an number expressed as a string.
- Default: '5'
max_threads
Setting for max-threads in nscd.conf. See nscd.conf(5). Must be an number expressed as a string.
- Default: '32'
server_user
Setting for server-user in nscd.conf. See nscd.conf(5). 'USE_DEFAULTS' will use platform specific defaults. RedHat based systems set this optional parameter to 'nscd' while other platforms do not use it.
- Default: 'USE_DEFAULTS'
stat_user
Setting for stat-user in nscd.conf. See nscd.conf(5).
- Default: 'root'
debug_level
Setting for debug-level in nscd.conf. See nscd.conf(5). Must be a number expressed as a string.
- Default: '0'
reload_count
Settings for reload-count in nscd.conf. See nscd.conf(5). Must be a number expressed as a string or 'unlimited'.
- Default: '5'
paranoia
Setting for paranoia in nscd.conf. See nscd.conf(5). Must be 'yes' or 'no'.
- Default: 'no'
restart_interval
Setting for restart-interval in nscd.conf. See nscd.conf(5). Must be a number expressed as a string.
- Default: '3600'
Per service nscd.conf settings
enable_db_passwd
Switch to show passwd section in nscd.conf. Allows for boolean, 'true', or 'false'.
- Default: 'USE_DEFAULTS', based on OS platform
enable_db_group
Switch to show group section in nscd.conf. Allows for boolean, 'true', or 'false'.
- Default: 'USE_DEFAULTS', based on OS platform
enable_db_hosts
Switch to show hosts section in nscd.conf. Allows for boolean, 'true', or 'false'.
- Default: 'USE_DEFAULTS', based on OS platform
enable_db_services
Switch to show services section in nscd.conf. Allows for boolean, 'true', or 'false'.
- Default: 'USE_DEFAULTS', based on OS platform
enable_db_netgroup
Switch to show netgroup section in nscd.conf. Allows for boolean, 'true', or 'false'.
- Default: 'USE_DEFAULTS', based on OS platform
enable_db_audit_user
Settings for enable_db_audit_user in nscd.conf. Allows for boolean, 'true', or 'false'.
- Default: 'USE_DEFAULTS'
enable_db_auth_attr
Settings for enable_db_auth_attr in nscd.conf. Allows for boolean, 'true', or 'false'.
- Default: 'USE_DEFAULTS'
enable_db_bootparams
Settings for enable_db_bootparams in nscd.conf. Allows for boolean, 'true', or 'false'.
- Default: 'USE_DEFAULTS'
enable_db_ethers
Settings for enable_db_ethers in nscd.conf. Allows for boolean, 'true', or 'false'.
- Default: 'USE_DEFAULTS'
enable_db_exec_attr
Settings for enable_db_exec_attr in nscd.conf. Allows for boolean, 'true', or 'false'.
- Default: 'USE_DEFAULTS'
enable_db_ipnodes
Settings for enable_db_ipnodes in nscd.conf. Allows for boolean, 'true', or 'false'.
- Default: 'USE_DEFAULTS'
enable_db_netmasks
Settings for enable_db_netmasks in nscd.conf. Allows for boolean, 'true', or 'false'.
- Default: 'USE_DEFAULTS'
enable_db_networks
Settings for enable_db_networks in nscd.conf. Allows for boolean, 'true', or 'false'.
- Default: 'USE_DEFAULTS'
enable_db_printers
Settings for enable_db_printers in nscd.conf. Allows for boolean, 'true', or 'false'.
- Default: 'USE_DEFAULTS'
enable_db_prof_attr
Settings for enable_db_prof_attr in nscd.conf. Allows for boolean, 'true', or 'false'.
- Default: 'USE_DEFAULTS'
enable_db_project
Settings for enable_db_project in nscd.conf. Allows for boolean, 'true', or 'false'.
- Default: 'USE_DEFAULTS'
enable_db_protocols
Settings for enable_db_protocols in nscd.conf. Allows for boolean, 'true', or 'false'.
- Default: 'USE_DEFAULTS'
enable_db_rpc
Settings for enable_db_rpc in nscd.conf. Allows for boolean, 'true', or 'false'.
- Default: 'USE_DEFAULTS'
enable_db_tnrhdb
Settings for enable_db_tnrhdb in nscd.conf. Allows for boolean, 'true', or 'false'.
- Default: 'USE_DEFAULTS'
enable_db_tnrhtp
Settings for enable_db_tnrhtp in nscd.conf. Allows for boolean, 'true', or 'false'.
- Default: 'USE_DEFAULTS'
enable_db_user_attr
Settings for enable_db_user_attr in nscd.conf. Allows for boolean, 'true', or 'false'.
- Default: 'USE_DEFAULTS'
enable_opt_auto_propagate
Settings for enable_opt_auto_propagate in nscd.conf. Allows for boolean, 'true', or 'false'.
- Default: 'USE_DEFAULTS'
passwd_enable_cache
Settings for enable-cache passwd in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
passwd_positive_time_to_live
Settings for positive-time-to-live passwd in nscd.conf. Must be a number in seconds expressed as a string.
- Default: '600'
passwd_negative_time_to_live
Settings for negative-time-to-live passwd in nscd.conf. Must be a number in seconds expressed as a string.
- Default: '20'
passwd_keep_hot_count
Settings for keep-hot-count passwd in nscd.conf. Must be a number expressed as a string.
- Default: '2048'
passwd_suggested_size
Settings for suggested-size passwd in nscd.conf. Must be a number expressed as a string.
- Default: '211'
passwd_check_files
Settings for check-files passwd in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
passwd_persistent
Settings for persistent passwd in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
passwd_shared
Settings for shared passwd in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
passwd_max_db_size
Settings for max-db-size passwd in nscd.conf. Must be a number in bytes expressed as a string.
- Default: '33554432'
passwd_auto_propagate
Settings for auto-propagate passwd in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
group_enable_cache
Settings for enable-cache group in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
group_positive_time_to_live
Settings for positive-time-to-live group in nscd.conf. Must be a number in seconds expressed as a string.
- Default: '3600'
group_negative_time_to_live
Settings for negative-time-to-live group in nscd.conf. Must be a number in seconds expressed as a string.
- Default: '60'
group_keep_hot_count
Settings for keep-hot-count group in nscd.conf. Must be a number expressed as a string.
- Default: '2048'
group_suggested_size
Settings for suggested-size group in nscd.conf. Must be a number expressed as a string.
- Default: '211'
group_check_files
Settings for check-files group in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
group_persistent
Settings for persistent group in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
group_shared
Settings for shared group in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
group_max_db_size
Settings for max-db-size group in nscd.conf. Must be a number in bytes expressed as a string.
- Default: '33554432'
group_auto_propagate
Settings for auto-propagate group in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
hosts_enable_cache
Settings for enable-cache hosts in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
hosts_positive_time_to_live
Settings for positive-time-to-live hosts in nscd.conf. Must be a number in seconds expressed as a string.
- Default: '3600'
hosts_negative_time_to_live
Settings for negative-time-to-live hosts in nscd.conf. Must be a number in seconds expressed as a string.
- Default: '20'
hosts_keep_hot_count
Settings for keep-hot-count hosts in nscd.conf. Must be a number expressed as a string.
- Default: '2048'
hosts_suggested_size
Settings for suggested-size hosts in nscd.conf. Must be a number expressed as a string.
- Default: '211'
hosts_check_files
Settings for check-files hosts in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
hosts_persistent
Settings for persistent hosts in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
hosts_shared
Settings for shared hosts in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
hosts_max_db_size
Settings for max-db-size hosts in nscd.conf. Must be a number in bytes expressed as a string.
- Default: '33554432'
services_enable_cache
Settings for enable-cache services in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
services_positive_time_to_live
Settings for positive-time-to-live services in nscd.conf. Must be a number in seconds expressed as a string.
- Default: '28800'
services_negative_time_to_live
Settings for negative-time-to-live services in nscd.conf. Must be a number in seconds expressed as a string.
- Default: '20'
services_keep_hot_count
Settings for keep-hot-count services in nscd.conf. Must be a number expressed as a string.
- Default: '2048'
services_suggested_size
Settings for suggested-size services in nscd.conf. Must be a number expressed as a string.
- Default: '211'
services_check_files
Settings for check-files services in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
services_persistent
Settings for persistent services in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
services_shared
Settings for shared services in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
services_max_db_size
Settings for max-db-size servicess in nscd.conf. Must be a number in bytes expressed as a string.
- Default: '33554432'
netgroup_enable_cache
Settings for enable-cache netgroup in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
netgroup_positive_time_to_live
Settings for positive-time-to-live netgroup in nscd.conf. Must be a number in seconds expressed as a string.
- Default: '28800'
netgroup_negative_time_to_live
Settings for negative-time-to-live netgroup in nscd.conf. Must be a number in seconds expressed as a string.
- Default: '20'
netgroup_suggested_size
Settings for suggested-size netgroup in nscd.conf. Must be a number expressed as a string.
- Default: '211'
netgroup_check_files
Settings for check-files netgroup in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
netgroup_persistent
Settings for persistent netgroup in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
netgroup_shared
Settings for shared netgroup in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
netgroup_max_db_size
Settings for max-db-size netgroup in nscd.conf. Must be a number in bytes expressed as a string.
- Default: '33554432'
audit_user_enable_cache
Settings for enable-cache audit_user in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
audit_user_positive_time_to_live
Settings for positive-time-to-live audit_user in nscd.conf. Must be a number in seconds expressed as a string.
- Default: '3600'
audit_user_negative_time_to_live
Settings for negative-time-to-live audit_user in nscd.conf. Must be a number in seconds expressed as a string.
- Default: '20'
audit_user_keep_hot_count
Settings for keep-hot-count audit_user in nscd.conf. Must be a number expressed as a string.
- Default: '2048'
audit_user_suggested_size
Settings for suggested-size audit_user in nscd.conf. Must be a number expressed as a string.
- Default: '211'
audit_user_check_files
Settings for check-files audit_user in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
audit_user_persistent
Settings for persistent audit_user in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
audit_user_shared
Settings for shared audit_user in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
audit_user_max_db_size
Settings for max-db-size audit_user in nscd.conf. Must be a number in bytes expressed as a string.
- Default: '33554432'
audit_user_auto_propagate
Settings for auto-propagate audit_user in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
auth_attr_enable_cache
Settings for enable-cache auth_attr in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
auth_attr_positive_time_to_live
Settings for positive-time-to-live auth_attr in nscd.conf. Must be a number in seconds expressed as a string.
- Default: '3600'
auth_attr_negative_time_to_live
Settings for negative-time-to-live auth_attr in nscd.conf. Must be a number in seconds expressed as a string.
- Default: '20'
auth_attr_keep_hot_count
Settings for keep-hot-count auth_attr in nscd.conf. Must be a number expressed as a string.
- Default: '2048'
auth_attr_suggested_size
Settings for suggested-size auth_attr in nscd.conf. Must be a number expressed as a string.
- Default: '211'
auth_attr_check_files
Settings for check-files auth_attr in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
auth_attr_persistent
Settings for persistent auth_attr in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
auth_attr_shared
Settings for shared auth_attr in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
auth_attr_max_db_size
Settings for max-db-size auth_attr in nscd.conf. Must be a number in bytes expressed as a string.
- Default: '33554432'
auth_attr_auto_propagate
Settings for auto-propagate auth_attr in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
bootparams_enable_cache
Settings for enable-cache bootparams in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
bootparams_positive_time_to_live
Settings for positive-time-to-live bootparams in nscd.conf. Must be a number in seconds expressed as a string.
- Default: '3600'
bootparams_negative_time_to_live
Settings for negative-time-to-live bootparams in nscd.conf. Must be a number in seconds expressed as a string.
- Default: '20'
bootparams_keep_hot_count
Settings for keep-hot-count bootparams in nscd.conf. Must be a number expressed as a string.
- Default: '2048'
bootparams_suggested_size
Settings for suggested-size bootparams in nscd.conf. Must be a number expressed as a string.
- Default: '211'
bootparams_check_files
Settings for check-files bootparams in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
bootparams_persistent
Settings for persistent bootparams in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
bootparams_shared
Settings for shared bootparams in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
bootparams_max_db_size
Settings for max-db-size bootparams in nscd.conf. Must be a number in bytes expressed as a string.
- Default: '33554432'
bootparams_auto_propagate
Settings for auto-propagate bootparams in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
ethers_enable_cache
Settings for enable-cache ethers in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
ethers_positive_time_to_live
Settings for positive-time-to-live ethers in nscd.conf. Must be a number in seconds expressed as a string.
- Default: '3600'
ethers_negative_time_to_live
Settings for negative-time-to-live ethers in nscd.conf. Must be a number in seconds expressed as a string.
- Default: '20'
ethers_keep_hot_count
Settings for keep-hot-count ethers in nscd.conf. Must be a number expressed as a string.
- Default: '2048'
ethers_suggested_size
Settings for suggested-size ethers in nscd.conf. Must be a number expressed as a string.
- Default: '211'
ethers_check_files
Settings for check-files ethers in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
ethers_persistent
Settings for persistent ethers in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
ethers_shared
Settings for shared ethers in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
ethers_max_db_size
Settings for max-db-size ethers in nscd.conf. Must be a number in bytes expressed as a string.
- Default: '33554432'
ethers_auto_propagate
Settings for auto-propagate ethers in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
exec_attr_enable_cache
Settings for enable-cache exec_attr in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
exec_attr_positive_time_to_live
Settings for positive-time-to-live exec_attr in nscd.conf. Must be a number in seconds expressed as a string.
- Default: '3600'
exec_attr_negative_time_to_live
Settings for negative-time-to-live exec_attr in nscd.conf. Must be a number in seconds expressed as a string.
- Default: '20'
exec_attr_keep_hot_count
Settings for keep-hot-count exec_attr in nscd.conf. Must be a number expressed as a string.
- Default: '2048'
exec_attr_suggested_size
Settings for suggested-size exec_attr in nscd.conf. Must be a number expressed as a string.
- Default: '211'
exec_attr_check_files
Settings for check-files exec_attr in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
exec_attr_persistent
Settings for persistent exec_attr in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
exec_attr_shared
Settings for shared exec_attr in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
exec_attr_max_db_size
Settings for max-db-size exec_attr in nscd.conf. Must be a number in bytes expressed as a string.
- Default: '33554432'
exec_attr_auto_propagate
Settings for auto-propagate exec_attr in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
ipnodes_enable_cache
Settings for enable-cache ipnodes in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
ipnodes_positive_time_to_live
Settings for positive-time-to-live ipnodes in nscd.conf. Must be a number in seconds expressed as a string.
- Default: '3600'
ipnodes_negative_time_to_live
Settings for negative-time-to-live ipnodes in nscd.conf. Must be a number in seconds expressed as a string.
- Default: '20'
ipnodes_keep_hot_count
Settings for keep-hot-count ipnodes in nscd.conf. Must be a number expressed as a string.
- Default: '2048'
ipnodes_suggested_size
Settings for suggested-size ipnodes in nscd.conf. Must be a number expressed as a string.
- Default: '211'
ipnodes_check_files
Settings for check-files ipnodes in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
ipnodes_persistent
Settings for persistent ipnodes in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
ipnodes_shared
Settings for shared ipnodes in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
ipnodes_max_db_size
Settings for max-db-size ipnodes in nscd.conf. Must be a number in bytes expressed as a string.
- Default: '33554432'
ipnodes_auto_propagate
Settings for auto-propagate ipnodes in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
netmasks_enable_cache
Settings for enable-cache netmasks in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
netmasks_positive_time_to_live
Settings for positive-time-to-live netmasks in nscd.conf. Must be a number in seconds expressed as a string.
- Default: '3600'
netmasks_negative_time_to_live
Settings for negative-time-to-live netmasks in nscd.conf. Must be a number in seconds expressed as a string.
- Default: '20'
netmasks_keep_hot_count
Settings for keep-hot-count netmasks in nscd.conf. Must be a number expressed as a string.
- Default: '2048'
netmasks_suggested_size
Settings for suggested-size netmasks in nscd.conf. Must be a number expressed as a string.
- Default: '211'
netmasks_check_files
Settings for check-files netmasks in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
netmasks_persistent
Settings for persistent netmasks in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
netmasks_shared
Settings for shared netmasks in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
netmasks_max_db_size
Settings for max-db-size netmasks in nscd.conf. Must be a number in bytes expressed as a string.
- Default: '33554432'
netmasks_auto_propagate
Settings for auto-propagate netmasks in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
networks_enable_cache
Settings for enable-cache networks in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
networks_positive_time_to_live
Settings for positive-time-to-live networks in nscd.conf. Must be a number in seconds expressed as a string.
- Default: '3600'
networks_negative_time_to_live
Settings for negative-time-to-live networks in nscd.conf. Must be a number in seconds expressed as a string.
- Default: '20'
networks_keep_hot_count
Settings for keep-hot-count networks in nscd.conf. Must be a number expressed as a string.
- Default: '2048'
networks_suggested_size
Settings for suggested-size networks in nscd.conf. Must be a number expressed as a string.
- Default: '211'
networks_check_files
Settings for check-files networks in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
networks_persistent
Settings for persistent networks in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
networks_shared
Settings for shared networks in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
networks_max_db_size
Settings for max-db-size networks in nscd.conf. Must be a number in bytes expressed as a string.
- Default: '33554432'
networks_auto_propagate
Settings for auto-propagate networks in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
printers_enable_cache
Settings for enable-cache printers in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
printers_positive_time_to_live
Settings for positive-time-to-live printers in nscd.conf. Must be a number in seconds expressed as a string.
- Default: '3600'
printers_negative_time_to_live
Settings for negative-time-to-live printers in nscd.conf. Must be a number in seconds expressed as a string.
- Default: '20'
printers_keep_hot_count
Settings for keep-hot-count printers in nscd.conf. Must be a number expressed as a string.
- Default: '2048'
printers_suggested_size
Settings for suggested-size printers in nscd.conf. Must be a number expressed as a string.
- Default: '211'
printers_check_files
Settings for check-files printers in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
printers_persistent
Settings for persistent printers in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
printers_shared
Settings for shared printers in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
printers_max_db_size
Settings for max-db-size printers in nscd.conf. Must be a number in bytes expressed as a string.
- Default: '33554432'
printers_auto_propagate
Settings for auto-propagate printers in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
prof_attr_enable_cache
Settings for enable-cache prof_attr in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
prof_attr_positive_time_to_live
Settings for positive-time-to-live prof_attr in nscd.conf. Must be a number in seconds expressed as a string.
- Default: '3600'
prof_attr_negative_time_to_live
Settings for negative-time-to-live prof_attr in nscd.conf. Must be a number in seconds expressed as a string.
- Default: '20'
prof_attr_keep_hot_count
Settings for keep-hot-count prof_attr in nscd.conf. Must be a number expressed as a string.
- Default: '2048'
prof_attr_suggested_size
Settings for suggested-size prof_attr in nscd.conf. Must be a number expressed as a string.
- Default: '211'
prof_attr_check_files
Settings for check-files prof_attr in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
prof_attr_persistent
Settings for persistent prof_attr in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
prof_attr_shared
Settings for shared prof_attr in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
prof_attr_max_db_size
Settings for max-db-size prof_attr in nscd.conf. Must be a number in bytes expressed as a string.
- Default: '33554432'
prof_attr_auto_propagate
Settings for auto-propagate prof_attr in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
project_enable_cache
Settings for enable-cache project in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
project_positive_time_to_live
Settings for positive-time-to-live project in nscd.conf. Must be a number in seconds expressed as a string.
- Default: '3600'
project_negative_time_to_live
Settings for negative-time-to-live project in nscd.conf. Must be a number in seconds expressed as a string.
- Default: '20'
project_keep_hot_count
Settings for keep-hot-count project in nscd.conf. Must be a number expressed as a string.
- Default: '2048'
project_suggested_size
Settings for suggested-size project in nscd.conf. Must be a number expressed as a string.
- Default: '211'
project_check_files
Settings for check-files project in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
project_persistent
Settings for persistent project in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
project_shared
Settings for shared project in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
project_max_db_size
Settings for max-db-size project in nscd.conf. Must be a number in bytes expressed as a string.
- Default: '33554432'
project_auto_propagate
Settings for auto-propagate project in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
protocols_enable_cache
Settings for enable-cache protocols in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
protocols_positive_time_to_live
Settings for positive-time-to-live protocols in nscd.conf. Must be a number in seconds expressed as a string.
- Default: '3600'
protocols_negative_time_to_live
Settings for negative-time-to-live protocols in nscd.conf. Must be a number in seconds expressed as a string.
- Default: '20'
protocols_keep_hot_count
Settings for keep-hot-count protocols in nscd.conf. Must be a number expressed as a string.
- Default: '2048'
protocols_suggested_size
Settings for suggested-size protocols in nscd.conf. Must be a number expressed as a string.
- Default: '211'
protocols_check_files
Settings for check-files protocols in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
protocols_persistent
Settings for persistent protocols in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
protocols_shared
Settings for shared protocols in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
protocols_max_db_size
Settings for max-db-size protocols in nscd.conf. Must be a number in bytes expressed as a string.
- Default: '33554432'
protocols_auto_propagate
Settings for auto-propagate protocols in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
rpc_enable_cache
Settings for enable-cache rpc in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
rpc_positive_time_to_live
Settings for positive-time-to-live rpc in nscd.conf. Must be a number in seconds expressed as a string.
- Default: '3600'
rpc_negative_time_to_live
Settings for negative-time-to-live rpc in nscd.conf. Must be a number in seconds expressed as a string.
- Default: '20'
rpc_keep_hot_count
Settings for keep-hot-count rpc in nscd.conf. Must be a number expressed as a string.
- Default: '2048'
rpc_suggested_size
Settings for suggested-size rpc in nscd.conf. Must be a number expressed as a string.
- Default: '211'
rpc_check_files
Settings for check-files rpc in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
rpc_persistent
Settings for persistent rpc in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
rpc_shared
Settings for shared rpc in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
rpc_max_db_size
Settings for max-db-size rpc in nscd.conf. Must be a number in bytes expressed as a string.
- Default: '33554432'
rpc_auto_propagate
Settings for auto-propagate rpc in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
tnrhdb_enable_cache
Settings for enable-cache tnrhdb in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
tnrhdb_positive_time_to_live
Settings for positive-time-to-live tnrhdb in nscd.conf. Must be a number in seconds expressed as a string.
- Default: '3600'
tnrhdb_negative_time_to_live
Settings for negative-time-to-live tnrhdb in nscd.conf. Must be a number in seconds expressed as a string.
- Default: '20'
tnrhdb_keep_hot_count
Settings for keep-hot-count tnrhdb in nscd.conf. Must be a number expressed as a string.
- Default: '2048'
tnrhdb_suggested_size
Settings for suggested-size tnrhdb in nscd.conf. Must be a number expressed as a string.
- Default: '211'
tnrhdb_check_files
Settings for check-files tnrhdb in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
tnrhdb_persistent
Settings for persistent tnrhdb in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
tnrhdb_shared
Settings for shared tnrhdb in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
tnrhdb_max_db_size
Settings for max-db-size tnrhdb in nscd.conf. Must be a number in bytes expressed as a string.
- Default: '33554432'
tnrhdb_auto_propagate
Settings for auto-propagate tnrhdb in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
tnrhtp_enable_cache
Settings for enable-cache tnrhdb in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
tnrhtp_positive_time_to_live
Settings for positive-time-to-live tnrhdb in nscd.conf. Must be a number in seconds expressed as a string.
- Default: '3600'
tnrhtp_negative_time_to_live
Settings for negative-time-to-live tnrhdb in nscd.conf. Must be a number in seconds expressed as a string.
- Default: '20'
tnrhtp_keep_hot_count
Settings for keep-hot-count tnrhdb in nscd.conf. Must be a number expressed as a string.
- Default: '2048'
tnrhtp_suggested_size
Settings for suggested-size tnrhdb in nscd.conf. Must be a number expressed as a string.
- Default: '211'
tnrhtp_check_files
Settings for check-files tnrhdb in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
tnrhtp_persistent
Settings for persistent tnrhdb in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
tnrhtp_shared
Settings for shared tnrhdb in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
tnrhtp_max_db_size
Settings for max-db-size tnrhdb in nscd.conf. Must be a number in bytes expressed as a string.
- Default: '33554432'
tnrhtp_auto_propagate
Settings for auto-propagate tnrhdb in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
user_attr_enable_cache
Settings for enable-cache user_attr in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
user_attr_positive_time_to_live
Settings for positive-time-to-live user_attr in nscd.conf. Must be a number in seconds expressed as a string.
- Default: '3600'
user_attr_negative_time_to_live
Settings for negative-time-to-live user_attr in nscd.conf. Must be a number in seconds expressed as a string.
- Default: '20'
user_attr_keep_hot_count
Settings for keep-hot-count user_attr in nscd.conf. Must be a number expressed as a string.
- Default: '2048'
user_attr_suggested_size
Settings for suggested-size user_attr in nscd.conf. Must be a number expressed as a string.
- Default: '211'
user_attr_check_files
Settings for check-files user_attr in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
user_attr_persistent
Settings for persistent user_attr in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
user_attr_shared
Settings for shared user_attr in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
user_attr_max_db_size
Settings for max-db-size user_attr in nscd.conf. Must be a number in bytes expressed as a string.
- Default: '33554432'
user_attr_auto_propagate
Settings for auto-propagate user_attr in nscd.conf. Must be 'yes' or 'no'.
- Default: 'yes'
Reference
Table of Contents
Classes
nscd
: Class to manage nscd, Linuxs Name Service Cache Daemon.
Recommend reading the man page, NSCD.CONF(5). This module allows for parameterization of all options specified in the man page.
The module assumes that you want to set enable-cache to true for each of the services (passwd, group, hosts, and services). If this is not the case, you can disable the cache on a per service basis.
To use this module simply include ::nscd
Compatibility
This module has been tested to work on the following systems:
- Amazon Linux 2015
- Amazon Linux 2016
- Amazon Linux 2017
- Debian 6
- EL 5
- EL 6
- EL 7
- EL 8
- EL 9
- Solaris 10
- Suse 10
- Suse 11
- Suse 12
- Suse 15
- OpenSuse 13.1
- Ubuntu 12.04 LTS
- Ubuntu 14.04 LTS
- Ubuntu 16.04 LTS
- Ubuntu 18.04 LTS
- Ubuntu 20.04 LTS
- Ubuntu 22.04 LTS
Compatibility with Dell Authentication Services
When using nscd in combination with Dell Authentication Services (QAS/VAS) [1] it is recommended to turn off caching of passwd and groups.
[1] http://software.dell.com/products/authentication-services/
Classes
nscd
== Class: nscd
Parameters
The following parameters are available in the nscd
class:
audit_user_check_files
audit_user_enable_cache
audit_user_keep_hot_count
audit_user_negative_time_to_live
audit_user_positive_time_to_live
auth_attr_check_files
auth_attr_enable_cache
auth_attr_keep_hot_count
auth_attr_negative_time_to_live
auth_attr_positive_time_to_live
bootparams_check_files
bootparams_enable_cache
bootparams_keep_hot_count
bootparams_negative_time_to_live
bootparams_positive_time_to_live
config_group
config_mode
config_path
config_owner
debug_level
enable_db_audit_user
enable_db_auth_attr
enable_db_bootparams
enable_db_ethers
enable_db_exec_attr
enable_db_group
enable_db_hosts
enable_db_ipnodes
enable_db_netgroup
enable_db_netmasks
enable_db_networks
enable_db_passwd
enable_db_printers
enable_db_prof_attr
enable_db_project
enable_db_protocols
enable_db_rpc
enable_db_services
enable_db_tnrhdb
enable_db_tnrhtp
enable_db_user_attr
enable_opt_auto_propagate
ethers_check_files
ethers_enable_cache
ethers_keep_hot_count
ethers_negative_time_to_live
ethers_positive_time_to_live
exec_attr_check_files
exec_attr_enable_cache
exec_attr_keep_hot_count
exec_attr_negative_time_to_live
exec_attr_positive_time_to_live
group_auto_propagate
group_check_files
group_enable_cache
group_keep_hot_count
group_max_db_size
group_negative_time_to_live
group_persistent
group_positive_time_to_live
group_shared
group_suggested_size
hosts_check_files
hosts_enable_cache
hosts_keep_hot_count
hosts_max_db_size
hosts_negative_time_to_live
hosts_persistent
hosts_positive_time_to_live
hosts_shared
hosts_suggested_size
ipnodes_check_files
ipnodes_enable_cache
ipnodes_keep_hot_count
ipnodes_negative_time_to_live
ipnodes_positive_time_to_live
logfile
max_threads
netgroup_check_files
netgroup_enable_cache
netgroup_max_db_size
netgroup_negative_time_to_live
netgroup_persistent
netgroup_positive_time_to_live
netgroup_shared
netgroup_suggested_size
netmasks_check_files
netmasks_enable_cache
netmasks_keep_hot_count
netmasks_negative_time_to_live
netmasks_positive_time_to_live
networks_check_files
networks_enable_cache
networks_keep_hot_count
networks_negative_time_to_live
networks_positive_time_to_live
package_adminfile
package_ensure
package_name
package_source
paranoia
passwd_auto_propagate
passwd_check_files
passwd_enable_cache
passwd_keep_hot_count
passwd_max_db_size
passwd_negative_time_to_live
passwd_persistent
passwd_positive_time_to_live
passwd_shared
passwd_suggested_size
printers_check_files
printers_enable_cache
printers_keep_hot_count
printers_negative_time_to_live
printers_positive_time_to_live
prof_attr_check_files
prof_attr_enable_cache
prof_attr_keep_hot_count
prof_attr_negative_time_to_live
prof_attr_positive_time_to_live
project_check_files
project_enable_cache
project_keep_hot_count
project_negative_time_to_live
project_positive_time_to_live
protocols_check_files
protocols_enable_cache
protocols_keep_hot_count
protocols_negative_time_to_live
protocols_positive_time_to_live
reload_count
restart_interval
rpc_check_files
rpc_enable_cache
rpc_keep_hot_count
rpc_negative_time_to_live
rpc_positive_time_to_live
server_user
service_enable
service_ensure
service_name
service_provider
services_check_files
services_enable_cache
services_keep_hot_count
services_max_db_size
services_negative_time_to_live
services_persistent
services_positive_time_to_live
services_shared
services_suggested_size
stat_user
threads
tnrhdb_check_files
tnrhdb_enable_cache
tnrhdb_keep_hot_count
tnrhdb_negative_time_to_live
tnrhdb_positive_time_to_live
tnrhtp_check_files
tnrhtp_enable_cache
tnrhtp_keep_hot_count
tnrhtp_negative_time_to_live
tnrhtp_positive_time_to_live
user_attr_check_files
user_attr_enable_cache
user_attr_keep_hot_count
user_attr_negative_time_to_live
user_attr_positive_time_to_live
audit_user_check_files
Data type: Enum['yes', 'no']
Settings for check-files audit_user in nscd.conf.
Default value: 'yes'
audit_user_enable_cache
Data type: Enum['yes', 'no']
Settings for enable-cache audit_user in nscd.conf.
Default value: 'yes'
audit_user_keep_hot_count
Data type: Integer
Settings for keep-hot-count audit_user in nscd.conf.
Default value: 2048
audit_user_negative_time_to_live
Data type: Integer
Settings for negative-time-to-live audit_user in nscd.conf.
Default value: 20
audit_user_positive_time_to_live
Data type: Integer
Settings for positive-time-to-live audit_user in nscd.conf.
Default value: 3600
auth_attr_check_files
Data type: Enum['yes', 'no']
Settings for check-files auth_attr in nscd.conf.
Default value: 'yes'
auth_attr_enable_cache
Data type: Enum['yes', 'no']
Settings for enable-cache auth_attr in nscd.conf.
Default value: 'yes'
auth_attr_keep_hot_count
Data type: Integer
Settings for keep-hot-count auth_attr in nscd.conf.
Default value: 2048
auth_attr_negative_time_to_live
Data type: Integer
Settings for negative-time-to-live auth_attr in nscd.conf. Must be a number in seconds.
Default value: 20
auth_attr_positive_time_to_live
Data type: Integer
Settings for positive-time-to-live auth_attr in nscd.conf. Must be a number in seconds.
Default value: 3600
bootparams_check_files
Data type: Enum['yes', 'no']
Settings for check-files bootparams in nscd.conf.
Default value: 'yes'
bootparams_enable_cache
Data type: Enum['yes', 'no']
Settings for enable-cache bootparams in nscd.conf.
Default value: 'yes'
bootparams_keep_hot_count
Data type: Integer
Settings for keep-hot-count bootparams in nscd.conf.
Default value: 2048
bootparams_negative_time_to_live
Data type: Integer
Settings for negative-time-to-live bootparams in nscd.conf. Must be a number in seconds.
Default value: 20
bootparams_positive_time_to_live
Data type: Integer
Settings for positive-time-to-live bootparams in nscd.conf. Must be a number in seconds.
Default value: 3600
config_group
Data type: String[1]
Group of nscd.conf.
Default value: 'root'
config_mode
Data type: Stdlib::Filemode
Mode of nscd.conf.
Default value: '0644'
config_path
Data type: Stdlib::Absolutepath
Path to nscd.conf.
Default value: '/etc/nscd.conf'
config_owner
Data type: String[1]
Owner of nscd.conf.
Default value: 'root'
debug_level
Data type: Integer
Setting for debug-level in nscd.conf. See nscd.conf(5).
Default value: 0
enable_db_audit_user
Data type: Boolean
Settings for enable_db_audit_user in nscd.conf.
Default value: false
enable_db_auth_attr
Data type: Boolean
Settings for enable_db_auth_attr in nscd.conf.
Default value: false
enable_db_bootparams
Data type: Boolean
Settings for enable_db_bootparams in nscd.conf.
Default value: false
enable_db_ethers
Data type: Boolean
Settings for enable_db_ethers in nscd.conf.
Default value: false
enable_db_exec_attr
Data type: Boolean
Settings for enable_db_exec_attr in nscd.conf.
Default value: false
enable_db_group
Data type: Boolean
Switch to show group section in nscd.conf.
Default value: false
enable_db_hosts
Data type: Boolean
Switch to show hosts section in nscd.conf.
Default value: false
enable_db_ipnodes
Data type: Boolean
Settings for enable_db_ipnodes in nscd.conf.
Default value: false
enable_db_netgroup
Data type: Boolean
Switch to show netgroup section in nscd.conf.
Default value: false
enable_db_netmasks
Data type: Boolean
Settings for enable_db_netmasks in nscd.conf.
Default value: false
enable_db_networks
Data type: Boolean
Settings for enable_db_networks in nscd.conf.
Default value: false
enable_db_passwd
Data type: Boolean
Switch to show passwd section in nscd.conf.
Default value: false
enable_db_printers
Data type: Boolean
Settings for enable_db_printers in nscd.conf.
Default value: false
enable_db_prof_attr
Data type: Boolean
Settings for enable_db_prof_attr in nscd.conf.
Default value: false
enable_db_project
Data type: Boolean
Settings for enable_db_project in nscd.conf.
Default value: false
enable_db_protocols
Data type: Boolean
Settings for enable_db_protocols in nscd.conf.
Default value: false
enable_db_rpc
Data type: Boolean
Settings for enable_db_rpc in nscd.conf.
Default value: false
enable_db_services
Data type: Boolean
Switch to show services section in nscd.conf.
Default value: false
enable_db_tnrhdb
Data type: Boolean
Settings for enable_db_tnrhdb in nscd.conf.
Default value: false
enable_db_tnrhtp
Data type: Boolean
Settings for enable_db_tnrhtp in nscd.conf.
Default value: false
enable_db_user_attr
Data type: Boolean
Settings for enable_db_user_attr in nscd.conf.
Default value: false
enable_opt_auto_propagate
Data type: Boolean
Settings for enable_opt_auto_propagate in nscd.conf.
Default value: false
ethers_check_files
Data type: Enum['yes', 'no']
Settings for check-files ethers in nscd.conf.
Default value: 'yes'
ethers_enable_cache
Data type: Enum['yes', 'no']
Settings for enable-cache ethers in nscd.conf.
Default value: 'yes'
ethers_keep_hot_count
Data type: Integer
Settings for keep-hot-count ethers in nscd.conf.
Default value: 2048
ethers_negative_time_to_live
Data type: Integer
Settings for negative-time-to-live ethers in nscd.conf.
Default value: 20
ethers_positive_time_to_live
Data type: Integer
Settings for positive-time-to-live ethers in nscd.conf. Must be a number in seconds.
Default value: 3600
exec_attr_check_files
Data type: Enum['yes', 'no']
Settings for check-files exec_attr in nscd.conf.
Default value: 'yes'
exec_attr_enable_cache
Data type: Enum['yes', 'no']
Settings for enable-cache exec_attr in nscd.conf.
Default value: 'yes'
exec_attr_keep_hot_count
Data type: Integer
Settings for keep-hot-count exec_attr in nscd.conf.
Default value: 2048
exec_attr_negative_time_to_live
Data type: Integer
Settings for negative-time-to-live exec_attr in nscd.conf.
Default value: 20
exec_attr_positive_time_to_live
Data type: Integer
Settings for positive-time-to-live exec_attr in nscd.conf. Must be a number in seconds.
Default value: 3600
group_auto_propagate
Data type: Enum['yes', 'no']
Settings for auto-propagate group in nscd.conf.
Default value: 'yes'
group_check_files
Data type: Enum['yes', 'no']
Settings for check-files group in nscd.conf.
Default value: 'yes'
group_enable_cache
Data type: Enum['yes', 'no']
Settings for enable-cache netgroup in nscd.conf.
Default value: 'yes'
group_keep_hot_count
Data type: Integer
Settings for keep-hot-count group in nscd.conf.
Default value: 2048
group_max_db_size
Data type: Integer
Settings for max-db-size group in nscd.conf.
Default value: 33554432
group_negative_time_to_live
Data type: Integer
Settings for negative-time-to-live group in nscd.conf.
Default value: 60
group_persistent
Data type: Enum['yes', 'no']
Settings for persistent group in nscd.conf.
Default value: 'yes'
group_positive_time_to_live
Data type: Integer
Settings for positive-time-to-live group in nscd.conf. Must be a number in seconds.
Default value: 3600
group_shared
Data type: Enum['yes', 'no']
Settings for shared group in nscd.conf.
Default value: 'yes'
group_suggested_size
Data type: Integer
Settings for suggested-size group in nscd.conf.
Default value: 211
hosts_check_files
Data type: Enum['yes', 'no']
Settings for check-files hosts in nscd.conf.
Default value: 'yes'
hosts_enable_cache
Data type: Enum['yes', 'no']
Settings for enable-cache hosts in nscd.conf.
Default value: 'yes'
hosts_keep_hot_count
Data type: Integer
Settings for keep-hot-count hosts in nscd.conf.
Default value: 2048
hosts_max_db_size
Data type: Integer
Settings for max-db-size hosts in nscd.conf. Must be a number in bytes.
Default value: 33554432
hosts_negative_time_to_live
Data type: Integer
Settings for negative-time-to-live hosts in nscd.conf. Must be a number in seconds.
Default value: 20
hosts_persistent
Data type: Enum['yes', 'no']
Settings for persistent hosts in nscd.conf.
Default value: 'yes'
hosts_positive_time_to_live
Data type: Integer
Settings for positive-time-to-live hosts in nscd.conf. Must be a number in seconds.
Default value: 3600
hosts_shared
Data type: Enum['yes', 'no']
Settings for shared hosts in nscd.conf.
Default value: 'yes'
hosts_suggested_size
Data type: Integer
Settings for suggested-size hosts in nscd.conf.
Default value: 211
ipnodes_check_files
Data type: Enum['yes', 'no']
Settings for check-files ipnodes in nscd.conf.
Default value: 'yes'
ipnodes_enable_cache
Data type: Enum['yes', 'no']
Settings for enable-cache ipnodes in nscd.conf.
Default value: 'yes'
ipnodes_keep_hot_count
Data type: Integer
Settings for keep-hot-count ipnodes in nscd.conf.
Default value: 2048
ipnodes_negative_time_to_live
Data type: Integer
Settings for negative-time-to-live ipnodes in nscd.conf. Must be a number in seconds.
Default value: 20
ipnodes_positive_time_to_live
Data type: Integer
Settings for positive-time-to-live ipnodes in nscd.conf. Must be a number in seconds.
Default value: 3600
logfile
Data type: Stdlib::Absolutepath
Setting for logfile in nscd.conf. See nscd.conf(5).
Default value: '/var/log/nscd.log'
max_threads
Data type: Integer
Setting for max-threads in nscd.conf. See nscd.conf(5).
Default value: 32
netgroup_check_files
Data type: Enum['yes', 'no']
Settings for check-files netgroup in nscd.conf.
Default value: 'yes'
netgroup_enable_cache
Data type: Enum['yes', 'no']
Settings for enable-cache netgroup in nscd.conf.
Default value: 'yes'
netgroup_max_db_size
Data type: Integer
Settings for max-db-size netgroup in nscd.conf. Must be a number in bytes.
Default value: 33554432
netgroup_negative_time_to_live
Data type: Integer
Settings for negative-time-to-live netgroup in nscd.conf. Must be a number in seconds.
Default value: 20
netgroup_persistent
Data type: Enum['yes', 'no']
Settings for persistent netgroup in nscd.conf.
Default value: 'yes'
netgroup_positive_time_to_live
Data type: Integer
Settings for positive-time-to-live netgroup in nscd.conf. Must be a number in seconds.
Default value: 28800
netgroup_shared
Data type: Enum['yes', 'no']
Settings for shared netgroup in nscd.conf.
Default value: 'yes'
netgroup_suggested_size
Data type: Integer
Settings for suggested-size netgroup in nscd.conf.
Default value: 211
netmasks_check_files
Data type: Enum['yes', 'no']
Settings for check-files netmasks in nscd.conf.
Default value: 'yes'
netmasks_enable_cache
Data type: Enum['yes', 'no']
Settings for enable-cache netmasks in nscd.conf.
Default value: 'yes'
netmasks_keep_hot_count
Data type: Integer
Settings for keep-hot-count netmasks in nscd.conf.
Default value: 2048
netmasks_negative_time_to_live
Data type: Integer
Settings for negative-time-to-live netmasks in nscd.conf. Must be a number in seconds.
Default value: 20
netmasks_positive_time_to_live
Data type: Integer
Settings for positive-time-to-live netmasks in nscd.conf. Must be a number in seconds.
Default value: 3600
networks_check_files
Data type: Enum['yes', 'no']
Settings for check-files networks in nscd.conf.
Default value: 'yes'
networks_enable_cache
Data type: Enum['yes', 'no']
Settings for enable-cache networks in nscd.conf.
Default value: 'yes'
networks_keep_hot_count
Data type: Integer
Settings for keep-hot-count networks in nscd.conf.
Default value: 2048
networks_negative_time_to_live
Data type: Integer
Settings for negative-time-to-live networks in nscd.conf. Must be a number in seconds.
Default value: 20
networks_positive_time_to_live
Data type: Integer
Settings for positive-time-to-live networks in nscd.conf. Must be a number in seconds.
Default value: 3600
package_adminfile
Data type: Optional[Stdlib::Absolutepath]
Solaris specific adminfile attribute of package resource.
Default value: undef
package_ensure
Data type: Enum['present', 'installed', 'absent']
Solaris specific source attribute of package resource.
Default value: 'present'
package_name
Data type: Array
Array for name of package(s).
Default value: ['nscd']
package_source
Data type: Optional[Stdlib::Absolutepath]
Solaris specific source attribute of package resource.
Default value: undef
paranoia
Data type: Enum['yes', 'no']
Setting for paranoia in nscd.conf. See nscd.conf(5).
Default value: 'no'
passwd_auto_propagate
Data type: Enum['yes', 'no']
Settings for auto-propagate passwd in nscd.conf.
Default value: 'yes'
passwd_check_files
Data type: Enum['yes', 'no']
Settings for check-files passwd in nscd.conf.
Default value: 'yes'
passwd_enable_cache
Data type: Enum['yes', 'no']
Settings for enable-cache passwd in nscd.conf.
Default value: 'yes'
passwd_keep_hot_count
Data type: Integer
Settings for keep-hot-count passwd in nscd.conf.
Default value: 2048
passwd_max_db_size
Data type: Integer
Settings for max-db-size passwd in nscd.conf.
Default value: 33554432
passwd_negative_time_to_live
Data type: Integer
Settings for negative-time-to-live passwd in nscd.conf. Must be a number in seconds.
Default value: 20
passwd_persistent
Data type: Enum['yes', 'no']
Settings for persistent passwd in nscd.conf.
Default value: 'yes'
passwd_positive_time_to_live
Data type: Integer
Settings for positive-time-to-live passwd in nscd.conf. Must be a number in seconds.
Default value: 600
passwd_shared
Data type: Enum['yes', 'no']
Settings for shared passwd in nscd.conf.
Default value: 'yes'
passwd_suggested_size
Data type: Integer
Settings for suggested-size passwd in nscd.conf.
Default value: 211
printers_check_files
Data type: Enum['yes', 'no']
Settings for check-files printers in nscd.conf.
Default value: 'yes'
printers_enable_cache
Data type: Enum['yes', 'no']
Settings for enable-cache printers in nscd.conf.
Default value: 'yes'
printers_keep_hot_count
Data type: Integer
Settings for keep-hot-count printers in nscd.conf.
Default value: 2048
printers_negative_time_to_live
Data type: Integer
Settings for negative-time-to-live printers in nscd.conf. Must be a number in seconds.
Default value: 20
printers_positive_time_to_live
Data type: Integer
Settings for positive-time-to-live printers in nscd.conf. Must be a number in seconds.
Default value: 3600
prof_attr_check_files
Data type: Enum['yes', 'no']
Settings for check-files prof_attr in nscd.conf.
Default value: 'yes'
prof_attr_enable_cache
Data type: Enum['yes', 'no']
Settings for enable-cache prof_attr in nscd.conf.
Default value: 'yes'
prof_attr_keep_hot_count
Data type: Integer
Settings for keep-hot-count prof_attr in nscd.conf.
Default value: 2048
prof_attr_negative_time_to_live
Data type: Integer
Settings for negative-time-to-live prof_attr in nscd.conf. Must be a number in seconds.
Default value: 20
prof_attr_positive_time_to_live
Data type: Integer
Settings for positive-time-to-live prof_attr in nscd.conf. Must be a number in seconds.
Default value: 3600
project_check_files
Data type: Enum['yes', 'no']
Settings for check-files project in nscd.conf.
Default value: 'yes'
project_enable_cache
Data type: Enum['yes', 'no']
Settings for enable-cache project in nscd.conf.
Default value: 'yes'
project_keep_hot_count
Data type: Integer
Settings for keep-hot-count project in nscd.conf.
Default value: 2048
project_negative_time_to_live
Data type: Integer
Settings for negative-time-to-live project in nscd.conf. Must be a number in seconds.
Default value: 20
project_positive_time_to_live
Data type: Integer
Settings for positive-time-to-live project in nscd.conf. Must be a number in seconds.
Default value: 3600
protocols_check_files
Data type: Enum['yes', 'no']
Settings for check-files protocols in nscd.conf.
Default value: 'yes'
protocols_enable_cache
Data type: Enum['yes', 'no']
Settings for enable-cache protocols in nscd.conf.
Default value: 'yes'
protocols_keep_hot_count
Data type: Integer
Settings for keep-hot-count protocols in nscd.conf.
Default value: 2048
protocols_negative_time_to_live
Data type: Integer
Settings for negative-time-to-live protocols in nscd.conf. Must be a number in seconds.
Default value: 20
protocols_positive_time_to_live
Data type: Integer
Settings for positive-time-to-live protocols in nscd.conf. Must be a number in seconds.
Default value: 3600
reload_count
Data type: Variant[Integer, Enum['unlimited']]
Settings for reload-count in nscd.conf. See nscd.conf(5).
Default value: 5
restart_interval
Data type: Integer
Setting for restart-interval in nscd.conf. See nscd.conf(5).
Default value: 3600
rpc_check_files
Data type: Enum['yes', 'no']
Settings for check-files rpc in nscd.conf.
Default value: 'yes'
rpc_enable_cache
Data type: Enum['yes', 'no']
Settings for enable-cache rpc in nscd.conf.
Default value: 'yes'
rpc_keep_hot_count
Data type: Integer
Settings for keep-hot-count rpc in nscd.conf.
Default value: 2048
rpc_negative_time_to_live
Data type: Integer
Settings for negative-time-to-live rpc in nscd.conf. Must be a number in seconds.
Default value: 20
rpc_positive_time_to_live
Data type: Integer
Settings for positive-time-to-live rpc in nscd.conf. Must be a number in seconds.
Default value: 3600
server_user
Data type: Optional[String[1]]
Setting for server-user in nscd.conf. See nscd.conf(5).
Default value: undef
service_enable
Data type: Boolean
Value of enable attribute of nscd service. This determines if the service will start at boot or not.
Default value: true
service_ensure
Data type: Stdlib::Ensure::Service
Value of ensure attribute of nscd service.
Default value: 'running'
service_name
Data type: String[1]
Name of service(s)
Default value: 'nscd'
service_provider
Data type: Optional[String[1]]
String for value of the provider attribute of nscd service. Specifying here will allow you to change the platforms default.
Default value: undef
services_check_files
Data type: Enum['yes', 'no']
Settings for check-files services in nscd.conf.
Default value: 'yes'
services_enable_cache
Data type: Enum['yes', 'no']
Settings for enable-cache services in nscd.conf.
Default value: 'yes'
services_keep_hot_count
Data type: Integer
Settings for keep-hot-count services in nscd.conf.
Default value: 2048
services_max_db_size
Data type: Integer
Settings for max-db-size servicess in nscd.conf. Must be a number in bytes.
Default value: 33554432
services_negative_time_to_live
Data type: Integer
Settings for negative-time-to-live services in nscd.conf. Must be a number in seconds.
Default value: 20
services_persistent
Data type: Enum['yes', 'no']
Settings for persistent services in nscd.conf.
Default value: 'yes'
services_positive_time_to_live
Data type: Integer
Settings for positive-time-to-live services in nscd.conf. Must be a number in seconds.
Default value: 28800
services_shared
Data type: Enum['yes', 'no']
Settings for shared services in nscd.conf.
Default value: 'yes'
services_suggested_size
Data type: Integer
Settings for suggested-size services in nscd.conf.
Default value: 211
stat_user
Data type: String[1]
Setting for stat-user in nscd.conf. See nscd.conf(5).
Default value: 'root'
threads
Data type: Integer
Setting for threads in nscd.conf. See nscd.conf(5).
Default value: 5
tnrhdb_check_files
Data type: Enum['yes', 'no']
Settings for check-files tnrhdb in nscd.conf.
Default value: 'yes'
tnrhdb_enable_cache
Data type: Enum['yes', 'no']
Settings for enable-cache tnrhdb in nscd.conf.
Default value: 'yes'
tnrhdb_keep_hot_count
Data type: Integer
Settings for keep-hot-count tnrhdb in nscd.conf.
Default value: 2048
tnrhdb_negative_time_to_live
Data type: Integer
Settings for negative-time-to-live tnrhdb in nscd.conf. Must be a number in seconds.
Default value: 20
tnrhdb_positive_time_to_live
Data type: Integer
Settings for positive-time-to-live tnrhdb in nscd.conf. Must be a number in seconds.
Default value: 3600
tnrhtp_check_files
Data type: Enum['yes', 'no']
Settings for check-files tnrhdb in nscd.conf.
Default value: 'yes'
tnrhtp_enable_cache
Data type: Enum['yes', 'no']
Settings for enable-cache tnrhdb in nscd.conf.
Default value: 'yes'
tnrhtp_keep_hot_count
Data type: Integer
Settings for keep-hot-count tnrhdb in nscd.conf.
Default value: 2048
tnrhtp_negative_time_to_live
Data type: Integer
Settings for negative-time-to-live tnrhdb in nscd.conf. Must be a number in seconds.
Default value: 20
tnrhtp_positive_time_to_live
Data type: Integer
Settings for positive-time-to-live tnrhdb in nscd.conf. Must be a number in seconds.
Default value: 3600
user_attr_check_files
Data type: Enum['yes', 'no']
Settings for check-files user_attr in nscd.conf.
Default value: 'yes'
user_attr_enable_cache
Data type: Enum['yes', 'no']
Settings for enable-cache user_attr in nscd.conf.
Default value: 'yes'
user_attr_keep_hot_count
Data type: Integer
Settings for keep-hot-count user_attr in nscd.conf.
Default value: 2048
user_attr_negative_time_to_live
Data type: Integer
Settings for negative-time-to-live user_attr in nscd.conf. Must be a number in seconds.
Default value: 20
user_attr_positive_time_to_live
Data type: Integer
Settings for positive-time-to-live user_attr in nscd.conf. Must be a number in seconds.
Default value: 3600
Change log
All notable changes to this project will be documented in this file. The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
v2.1.0 (2023-08-12)
Added
- New os rebase #78 (ghoneycutt)
v2.0.0 (2023-08-12)
Added
- Use tailoredautomation pdk-template #77 (ghoneycutt)
- Convert to PDK and add support for Puppet 8 #73 (Phil-Friderici)
v1.15.0 (2020-10-07)
Merged pull requests:
v1.14.0 (2020-06-16)
Merged pull requests:
- Support el8 #69 (anders-larsson)
v1.13.0 (2019-05-10)
Merged pull requests:
- Use correct ruby versions in CI #66 (ghoneycutt)
- Add support for SuSE SLES 15 #63 (ghoneycutt)
- Only test Puppet v3 with the latest ruby for that release (2.1.9) #61 (ghoneycutt)
v1.12.0 (2019-01-04)
Merged pull requests:
- Add support for Puppet 5 & 6 #58 (Phil-Friderici)
v1.11.0 (2017-12-27)
Merged pull requests:
- Fix testing #57 (ghoneycutt)
v1.10.0 (2017-04-17)
Merged pull requests:
- Amazon linux 2017 #52 (ghoneycutt)
- Support Puppet >= 4.10 #50 (Phil-Friderici)
v1.9.1 (2016-11-04)
Merged pull requests:
- Explicitly use puppet-lint v2 #48 (ghoneycutt)
- Explicit use of strings for all numbers in documentation. #47 (alan-schwarzenberger)
v1.9.0 (2016-09-01)
Merged pull requests:
- Improve testing #46 (ghoneycutt)
v1.8.0 (2016-05-09)
Merged pull requests:
- Support amazon 2015 2016 #44 (ghoneycutt)
- Continue supporting ruby 1.8.7 by pinning the version of rake #43 (ghoneycutt)
- Add rubocop support to lint spec tests and make recommended changes #40 (ghoneycutt)
- add space into netgroup section #39 (ofsole)
- move empty lines into nscd.conf sections #38 (Phil-Friderici)
v1.7.0 (2015-10-05)
Merged pull requests:
- re-rebase solaris support #37 (Phil-Friderici)
- rebase solaris support #36 (Phil-Friderici)
v1.6.1 (2015-09-18)
Merged pull requests:
- Fix Travis-ci matrix so that each feature release is tested #35 (ghoneycutt)
- use $::operatingsystemrelease instead of $::operatingsystemmajrelease for Suse #34 (Phil-Friderici)
v1.6.0 (2015-07-14)
Merged pull requests:
- Use operatingsystemmajrelease fact instead of lsbmajdistrelease #32 (ghoneycutt)
v1.5.0 (2015-06-24)
Merged pull requests:
- Support Puppet v4 #30 (ghoneycutt)
- Support future parser on Puppet v3 #29 (ghoneycutt)
v1.4.0 (2015-06-24)
Merged pull requests:
- Add support for SUSE SLE12 #28 (jwennerberg)
v1.3.0 (2015-04-14)
Merged pull requests:
- Add support for OpenSUSE 13.1 #27 (ghoneycutt)
v1.2.1 (2015-04-02)
Merged pull requests:
- Prep v1.2.1 #25 (ghoneycutt)
- Changed outdated type-function to is_\<type>. #24 (mannbach)
- add hint for QAS/VAS usage to README #23 (Phil-Friderici)
v1.2.0 (2015-01-06)
Merged pull requests:
- El7 support #22 (ghoneycutt)
v1.1.1 (2014-10-29)
Merged pull requests:
- fix some default values in readme #16 (Phil-Friderici)
v1.1.0 (2014-09-29)
Merged pull requests:
- Support el5 and sles10 #12 (ghoneycutt)
v1.0.2 (2014-08-19)
Merged pull requests:
- Change we we ignore module directory with puppet-lint to pass travis run... #10 (ghoneycutt)
v1.0.1 (2014-08-19)
Merged pull requests:
- Maintenance #9 (ghoneycutt)
v1.0.0 (2014-02-17)
Merged pull requests:
- Get to v1.0.0 #3 (ghoneycutt)
* This Changelog was automatically generated by github_changelog_generator
Dependencies
- puppetlabs/stdlib (>= 8.6.0 < 9.0.0)
Copyright (C) 2013-2023 Garrett Honeycutt <code@garretthoneycutt.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.