parent
a1f986724f
commit
bec79e8904
@ -0,0 +1 @@
|
|||||||
|
{% calculate append='skip' %}
|
@ -0,0 +1 @@
|
|||||||
|
{% calculate name='etc', package='sys-libs/glibc' %}
|
@ -0,0 +1,4 @@
|
|||||||
|
{% calculate format='openrc', path='/etc/conf.d', name='nscd' %}
|
||||||
|
|
||||||
|
rc_use="!net logger root"
|
||||||
|
rc_before="dbus xdm"
|
@ -0,0 +1,40 @@
|
|||||||
|
{% calculate comment='#' %}
|
||||||
|
be_BY.UTF-8 UTF-8
|
||||||
|
bg_BG.UTF-8 UTF-8
|
||||||
|
bs_BA.UTF-8 UTF-8
|
||||||
|
cs_CZ.UTF-8 UTF-8
|
||||||
|
da_DK.UTF-8 UTF-8
|
||||||
|
de_DE.UTF-8 UTF-8
|
||||||
|
en_AU.UTF-8 UTF-8
|
||||||
|
en_GB.UTF-8 UTF-8
|
||||||
|
en_US.UTF-8 UTF-8
|
||||||
|
es_ES.UTF-8 UTF-8
|
||||||
|
es_UY.UTF-8 UTF-8
|
||||||
|
es_VE.UTF-8 UTF-8
|
||||||
|
et_EE.UTF-8 UTF-8
|
||||||
|
fi_FI.UTF-8 UTF-8
|
||||||
|
fr_BE.UTF-8 UTF-8
|
||||||
|
fr_CA.UTF-8 UTF-8
|
||||||
|
fr_FR.UTF-8 UTF-8
|
||||||
|
hr_HR.UTF-8 UTF-8
|
||||||
|
hu_HU.UTF-8 UTF-8
|
||||||
|
is_IS.UTF-8 UTF-8
|
||||||
|
it_IT.UTF-8 UTF-8
|
||||||
|
kk_KZ.UTF-8 UTF-8
|
||||||
|
lt_LT.UTF-8 UTF-8
|
||||||
|
lv_LV.UTF-8 UTF-8
|
||||||
|
nl_BE.UTF-8 UTF-8
|
||||||
|
nl_NL.UTF-8 UTF-8
|
||||||
|
nb_NO.UTF-8 UTF-8
|
||||||
|
nn_NO.UTF-8 UTF-8
|
||||||
|
pl_PL.UTF-8 UTF-8
|
||||||
|
pt_BR.UTF-8 UTF-8
|
||||||
|
pt_PT.UTF-8 UTF-8
|
||||||
|
ro_RO.UTF-8 UTF-8
|
||||||
|
ru_RU.UTF-8 UTF-8
|
||||||
|
sk_SK.UTF-8 UTF-8
|
||||||
|
sl_SI.UTF-8 UTF-8
|
||||||
|
sq_AL.UTF-8 UTF-8
|
||||||
|
sr_RS.UTF-8 UTF-8
|
||||||
|
sv_SE.UTF-8 UTF-8
|
||||||
|
uk_UA.UTF-8 UTF-8
|
@ -0,0 +1,19 @@
|
|||||||
|
{% calculate comment='#' %}
|
||||||
|
#
|
||||||
|
# /etc/nscd.conf
|
||||||
|
|
||||||
|
enable-cache passwd yes
|
||||||
|
positive-time-to-live passwd 604800
|
||||||
|
negative-time-to-live passwd 20
|
||||||
|
suggested-size passwd 211
|
||||||
|
check-files passwd yes
|
||||||
|
persistent passwd yes
|
||||||
|
shared passwd yes
|
||||||
|
|
||||||
|
enable-cache group yes
|
||||||
|
positive-time-to-live group 604800
|
||||||
|
negative-time-to-live group 40
|
||||||
|
suggested-size group 211
|
||||||
|
check-files group yes
|
||||||
|
persistent group yes
|
||||||
|
shared group yes
|
@ -0,0 +1,19 @@
|
|||||||
|
{% calculate path='/usr/sbin', chmod='755' %}
|
||||||
|
#!/bin/sh
|
||||||
|
# Updating of domain users nss-cache.
|
||||||
|
# The NSS-cache is used for fix resume from suspend mode of domain users.
|
||||||
|
#
|
||||||
|
#?os_install_locale_language==ru#
|
||||||
|
# Обновление кэша пользователей домена.
|
||||||
|
# Кэширование используется для поддержки спящего режима доменных машин.
|
||||||
|
# Обновление вызывается из cron.hourly, при входе в сеанс, при разблокировке.
|
||||||
|
#?os_install_locale_language#
|
||||||
|
|
||||||
|
# invalidate passwd and group caches
|
||||||
|
nscd -i passwd
|
||||||
|
nscd -i group
|
||||||
|
# get information about all users
|
||||||
|
getent passwd | cut -d: -f1 |
|
||||||
|
while read user;do
|
||||||
|
id $user &>/dev/null
|
||||||
|
done
|
@ -0,0 +1,18 @@
|
|||||||
|
{% calculate comment='#' %}
|
||||||
|
# /etc/nscd.conf
|
||||||
|
|
||||||
|
enable-cache passwd yes
|
||||||
|
positive-time-to-live passwd 0
|
||||||
|
negative-time-to-live passwd 0
|
||||||
|
suggested-size passwd 211
|
||||||
|
check-files passwd yes
|
||||||
|
persistent passwd yes
|
||||||
|
shared passwd yes
|
||||||
|
|
||||||
|
enable-cache group yes
|
||||||
|
positive-time-to-live group 0
|
||||||
|
negative-time-to-live group 0
|
||||||
|
suggested-size group 211
|
||||||
|
check-files group yes
|
||||||
|
persistent group yes
|
||||||
|
shared group yes
|
@ -0,0 +1,37 @@
|
|||||||
|
{% calculate append='replace', format='ldap', path='/etc', chmod='644', chown='root:root' %}
|
||||||
|
{% if pkg('sys-auth/nss_ldap') %}
|
||||||
|
passwd: files ldap
|
||||||
|
shadow: files ldap
|
||||||
|
group: files ldap
|
||||||
|
{% else %}
|
||||||
|
passwd: files
|
||||||
|
shadow: files
|
||||||
|
group: files
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
hosts: files dns
|
||||||
|
networks: files dns
|
||||||
|
|
||||||
|
{% if pkg('sys-auth/nss_ldap') %}
|
||||||
|
services: files ldap
|
||||||
|
protocols: files ldap
|
||||||
|
{% else %}
|
||||||
|
services: db files
|
||||||
|
protocols: db files
|
||||||
|
{% endif %}
|
||||||
|
rpc: db files
|
||||||
|
ethers: db files
|
||||||
|
netmasks: files
|
||||||
|
{% if pkg('sys-auth/nss_ldap') %}
|
||||||
|
netgroup: files ldap
|
||||||
|
{% else %}
|
||||||
|
netgroup: files
|
||||||
|
{% endif %}
|
||||||
|
bootparams: files
|
||||||
|
|
||||||
|
{% if pkg('sys-auth/nss_ldap') %}
|
||||||
|
automount: files ldap
|
||||||
|
{% else %}
|
||||||
|
automount: files
|
||||||
|
{% endif %}
|
||||||
|
aliases: files
|
@ -0,0 +1 @@
|
|||||||
|
{% calculate path='/etc', name='conf.d', package='sys-libs/gpm' %}
|
@ -0,0 +1,3 @@
|
|||||||
|
{% calculate comment='#' %}
|
||||||
|
MOUSE=imps2
|
||||||
|
MOUSEDEV=/dev/psaux
|
@ -0,0 +1 @@
|
|||||||
|
{% calculate path='/etc/security', name='limits.d', package='sys-libs/pam', install.os.linux.system == 'server' %}
|
@ -0,0 +1,3 @@
|
|||||||
|
{% calculate comment='#' %}
|
||||||
|
# need for openldap
|
||||||
|
* - nofile 10240
|
Loading…
Reference in new issue