mirror of
https://github.com/xcat2/confluent.git
synced 2024-12-25 12:41:39 +00:00
Change strategy for pam.d entry
The symbolic link did not stay a symbolic link. Use %post in rpm instead.
This commit is contained in:
parent
c56c1948a9
commit
cb2133e871
@ -40,6 +40,9 @@ true
|
||||
%post
|
||||
sysctl -p /usr/lib/sysctl.d/confluent.conf >& /dev/null
|
||||
if [ -x /usr/bin/systemctl ]; then /usr/bin/systemctl try-restart confluent >& /dev/null; fi
|
||||
if [ ! -e /etc/pam.d/confluent ]; then
|
||||
ln -s /etc/pam.d/sshd /etc/pam.d/confluent
|
||||
fi
|
||||
true
|
||||
|
||||
%clean
|
||||
|
@ -1 +0,0 @@
|
||||
/etc/pam.d/sshd
|
@ -22,7 +22,6 @@ setup(
|
||||
'pyghmi>=1.0.44'],
|
||||
scripts=['bin/confluent', 'bin/confluentdbutil', 'bin/collective'],
|
||||
data_files=[('/etc/init.d', ['sysvinit/confluent']),
|
||||
('/etc/pam.d/', ['pam/confluent']),
|
||||
('/usr/lib/sysctl.d', ['sysctl/confluent.conf']),
|
||||
('/usr/lib/systemd/system', ['systemd/confluent.service']),
|
||||
('/opt/confluent/lib/python/confluent/plugins/console/', [])],
|
||||
|
Loading…
Reference in New Issue
Block a user