Fix self argument in tasks
Reviewed-By: Tomáš Babej <tbabej@redhat.com>
This commit is contained in:
1 parent
3b4ab8b4f2
commit
d868fc5566
2 files changed
+4
-4
No files matched your search
@@ -60,10 +60,10 @@ class BaseTaskNamespace(object):
|
||||
def set_nisdomain(self, nisdomain):
|
||||
return
|
||||
|
||||
def modify_nsswitch_pam_stack(sssd, mkhomedir, statestore):
|
||||
def modify_nsswitch_pam_stack(self, sssd, mkhomedir, statestore):
|
||||
return
|
||||
|
||||
def modify_pam_to_use_krb5(statestore):
|
||||
def modify_pam_to_use_krb5(self, statestore):
|
||||
return
|
||||
|
||||
task_namespace = BaseTaskNamespace()
|
||||
@@ -122,7 +122,7 @@ class FedoraTaskNamespace(BaseTaskNamespace):
|
||||
auth_config.add_parameter("nisdomain", nisdomain)
|
||||
auth_config.execute()
|
||||
|
||||
def modify_nsswitch_pam_stack(sssd, mkhomedir, statestore):
|
||||
def modify_nsswitch_pam_stack(self, sssd, mkhomedir, statestore):
|
||||
auth_config = FedoraAuthConfig()
|
||||
|
||||
if sssd:
|
||||
@@ -141,7 +141,7 @@ class FedoraTaskNamespace(BaseTaskNamespace):
|
||||
|
||||
auth_config.execute()
|
||||
|
||||
def modify_pam_to_use_krb5(statestore):
|
||||
def modify_pam_to_use_krb5(self, statestore):
|
||||
auth_config = FedoraAuthConfig()
|
||||
statestore.backup_state('authconfig', 'krb5', True)
|
||||
auth_config.enable("krb5")
|
||||
|
||||
Reference in new issue
Block a user