projects
/
cascardo
/
ipsilon.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
In configure we do not need to set_config()
[cascardo/ipsilon.git]
/
ipsilon
/
login
/
authpam.py
diff --git
a/ipsilon/login/authpam.py
b/ipsilon/login/authpam.py
index
35edbaf
..
10b550e
100755
(executable)
--- a/
ipsilon/login/authpam.py
+++ b/
ipsilon/login/authpam.py
@@
-145,8
+145,7
@@
class Installer(object):
po.wipe_config_values(FACILITY)
config = {'service name': opts['pam_service']}
po.wipe_config_values(FACILITY)
config = {'service name': opts['pam_service']}
- po.set_config(config)
- po.save_plugin_config(FACILITY)
+ po.save_plugin_config(FACILITY, config)
# Update global config to add login plugin
po = PluginObject()
# Update global config to add login plugin
po = PluginObject()
@@
-158,8
+157,7
@@
class Installer(object):
order = []
order.append('pam')
globalconf['order'] = ','.join(order)
order = []
order.append('pam')
globalconf['order'] = ','.join(order)
- po.set_config(globalconf)
- po.save_plugin_config(FACILITY)
+ po.save_plugin_config(FACILITY, globalconf)
# for selinux enabled platforms, ignore if it fails just report
try:
# for selinux enabled platforms, ignore if it fails just report
try: